Read the statement by Michael Teeuw here.
MMM-Newsfeedticker Error
-
@pgwr please use code block around config and errors
paste text
empty line above and below
select pasted text
hit </> button for code block wrapperI fixed this time
error
yes module is missing a library we used to ship
but wasn’t documentedsee https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
fix is (the same for any missing lib, there are 8 I think)
cd to the module folder
npm install valid-url -
@sdetweil thanks much!
-
@sdetweil checked the list and installed valid-url. Same result. Hmmmm…
-
@pgwr show the errors again.
-
> magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [29.12.2023 11:26.31.512] [LOG] Starting MagicMirror: v2.25.0 [29.12.2023 11:26.31.517] [LOG] Loading config ... [29.12.2023 11:26.31.520] [DEBUG] config template file not exists, no envsubst [29.12.2023 11:26.31.524] [LOG] Loading module helpers ... [29.12.2023 11:26.31.526] [LOG] No helper found for module: alert. [29.12.2023 11:26.31.555] [LOG] Initializing new module helper ... [29.12.2023 11:26.31.555] [LOG] Module helper loaded: updatenotification [29.12.2023 11:26.31.556] [LOG] No helper found for module: clock. [29.12.2023 11:26.31.713] [LOG] Initializing new module helper ... [29.12.2023 11:26.31.714] [LOG] Module helper loaded: calendar [29.12.2023 11:26.31.715] [LOG] No helper found for module: weather. [29.12.2023 11:26.31.719] [LOG] Initializing new module helper ... [29.12.2023 11:26.31.719] [LOG] Module helper loaded: MMM-MyScoreboard [29.12.2023 11:26.31.750] [ERROR] (node:271795) UnhandledPromiseRejectionWarning: Error: Cannot find module 'request' Require stack: - /home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/fetcher.js - /home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js - /home/xxxxxxxx/MagicMirror/js/app.js - /home/xxxxxxxx/MagicMirror/js/electron.js - /home/xxxxxxxx/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at node:internal/modules/cjs/loader:1084:15 at Function.<anonymous> (node:electron/js2c/browser_init:2:117419) at Module._resolveFilename (/home/xxxxxxxx/MagicMirror/node_modules/module-alias/index.js:49:29) at node:internal/modules/cjs/loader:929:27 at Function._load (node:electron/js2c/asar_bundle:2:13327) at Module.require (node:internal/modules/cjs/loader:1150:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/fetcher.js:9:15) at Module._compile (node:internal/modules/cjs/loader:1271:14) at Object..js (node:internal/modules/cjs/loader:1326:10) at Module.load (node:internal/modules/cjs/loader:1126:32) at node:internal/modules/cjs/loader:967:12 at Function._load (node:electron/js2c/asar_bundle:2:13327) at Module.require (node:internal/modules/cjs/loader:1150:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js:10:15) (Use `electron --trace-warnings ...` to show where the warning was created) [29.12.2023 11:26.31.751] [ERROR] (node:271795) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [271828:1229/112632.791848:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.792586:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.793028:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.793413:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.793786:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.794156:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.794523:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.796415:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.796862:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.797250:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.797619:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.797990:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.798355:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [271828:1229/112632.798715:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) ^C/home/xxxxxxxx/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
-
@sdetweil Resubmitted the error log. Hopefully did the code block correctly.
Thanks -
@pgwr said in MMM-Newsfeedticker Error:
[29.12.2023 11:26.31.750] [ERROR] (node:271795) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’
yep
-
@pgwr okay, missed that. So sounds like i need to install the request module in the newsfeedticker module folder. I assume
npm install request
-
@pgwr yes, as I said there are multiple missing libraries, all get corrected the same way
-
@pgwr thanks…