A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
error on v 2.18 update - magicmirror npm does not support Node.js v10.24.1
-
thanks @sdetweil .
The npm install went well with no errors, thus on restart I can only have a black screen and 2 instances of mm -
@mrdondot ok use pm2 delete 0 to remove 1
then pm2 logs --lines=50
to dump the logs so we can see what is going on.
if you did an upgrade then see this
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later -
@sdetweil
after deleting the pm2 that’s the result of log:/home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 1|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 1|MagicMir | - 1|MagicMir | [12.01.2022 13:12.37.327] [ERROR] App threw an error during load 1|MagicMir | [12.01.2022 13:12.37.330] [ERROR] Error: Cannot find module 'valid-url' 1|MagicMir | Require stack: 1|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js 1|MagicMir | - /home/pi/MagicMirror/js/app.js 1|MagicMir | - /home/pi/MagicMirror/js/electron.js 1|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 1|MagicMir | - 1|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 1|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128) 1|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 1|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 1|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 1|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 1|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:9:16) 1|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 1|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 1|MagicMir | [12.01.2022 13:12.37.332] [ERROR] Whoops! There was an uncaught exception... 1|MagicMir | [12.01.2022 13:12.37.339] [ERROR] Error: Cannot find module 'valid-url' 1|MagicMir | Require stack: 1|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js 1|MagicMir | - /home/pi/MagicMirror/js/app.js 1|MagicMir | - /home/pi/MagicMirror/js/electron.js 1|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 1|MagicMir | - 1|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) 1|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128) 1|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 1|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27) 1|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 1|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 1|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:9:16) 1|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 1|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) { 1|MagicMir | code: 'MODULE_NOT_FOUND', 1|MagicMir | requireStack: [ 1|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js', 1|MagicMir | '/home/pi/MagicMirror/js/app.js', 1|MagicMir | '/home/pi/MagicMirror/js/electron.js', 1|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 1|MagicMir | undefined 1|MagicMir | ] 1|MagicMir | } 1|MagicMir | [12.01.2022 13:12.37.340] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 1|MagicMir | [12.01.2022 13:12.37.341] [ERROR] If you think this really is an is sue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 1|MagicMir | [1030:0112/131240.512560:ERROR:service_worker_storage.cc(1899)] Failed to delete the database: Database IO error
-
@mrdondot yep, see the link in the prior post
-
@sdetweil thanks!! All works fine now. :clapping_hands: