A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Black screen after updating to 2.19
-
Hi,
just updated my MM from 2.18 to 2.19, @sdetweil’s update script threw no errors.
Now I get a black screen with mouse pointer only.
pm2 logs --lines=50 output:
0|MagicMir | [02.04.2022 09:09.59.133] [WARN] [yahoo-finance2] Please upgrade to yahoo-finance2@latest, i.e. 2.x. The only breaking change is a fix in quoteSummary to correctly return Date objects instead of numerical timestamps in these submodules: defaultKeyStatistics, earningsHistory, insiderHolders. For more info see: https://github.com/gadicc/node-yahoo-finance2/commit/4cf1f624d55d92f80db4b36b3afe9414f5eb5a3c 0|MagicMir | [02.04.2022 09:09.59.764] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' 0|MagicMir | Require stack: 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js 0|MagicMir | - /home/pi/MagicMirror/js/app.js 0|MagicMir | - /home/pi/MagicMirror/js/electron.js 0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|MagicMir | - 0|MagicMir | [02.04.2022 09:09.59.774] [ERROR] App threw an error during load 0|MagicMir | [02.04.2022 09:09.59.780] [ERROR] Error: Cannot find module 'request' 0|MagicMir | Require stack: 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js 0|MagicMir | - /home/pi/MagicMirror/js/app.js 0|MagicMir | - /home/pi/MagicMirror/js/electron.js 0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|MagicMir | - 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105) 0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js:9:17) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | [02.04.2022 09:09.59.783] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [02.04.2022 09:09.59.795] [ERROR] Error: Cannot find module 'request' 0|MagicMir | Require stack: 0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js 0|MagicMir | - /home/pi/MagicMirror/js/app.js 0|MagicMir | - /home/pi/MagicMirror/js/electron.js 0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|MagicMir | - 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105) 0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js:9:17) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) { 0|MagicMir | code: 'MODULE_NOT_FOUND', 0|MagicMir | requireStack: [ 0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCommute/node_helper.js', 0|MagicMir | '/home/pi/MagicMirror/js/app.js', 0|MagicMir | '/home/pi/MagicMirror/js/electron.js', 0|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|MagicMir | undefined 0|MagicMir | ] 0|MagicMir | } 0|MagicMir | [02.04.2022 09:09.59.798] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [02.04.2022 09:09.59.800] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [3003:0402/091001.395115:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization 0|MagicMir | [3030:0402/091001.541186:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
The pi has a internet connection.
Any ideas?
-
-
@mickecarlsson Thanks, “request” had to be installed there and for another module, now my mirror is working again.
-
@requiemmg
Can you mark this as solved?