Read the statement by Michael Teeuw here.
After Update to 2.15, MM ist black.
-
Hey, I just updated my MagicMirror to V 2.15.
Now I have a Black screen and the Terminal got me some errors:Maybe someone could give me a hint, or should I downgrade back t 2.14
[28.05.2021 12:22.53.756] [LOG] Loading module helpers …
[28.05.2021 12:22.53.759] [LOG] Initializing new module helper …
[28.05.2021 12:22.53.761] [LOG] Module helper loaded: updatenotification
[28.05.2021 12:22.53.763] [LOG] No helper found for module: clock.
[28.05.2021 12:22.53.765] [LOG] Initializing new module helper …
[28.05.2021 12:22.53.767] [LOG] Module helper loaded: MMM-DarkSkyForecast
[28.05.2021 12:22.53.769] [LOG] No helper found for module: MMM-Homematic.
[28.05.2021 12:22.53.771] [LOG] No helper found for module: MMM-EasyBack.
[28.05.2021 12:22.53.776] [LOG] Initializing new module helper …
[28.05.2021 12:22.53.780] [LOG] Module helper loaded: newsfeed
[28.05.2021 12:22.53.790] [ERROR] App threw an error during load
[28.05.2021 12:22.53.812] [ERROR] Error: Cannot find module ‘valid-url’
Require stack:- /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
[28.05.2021 12:22.53.822] [ERROR] Whoops! There was an uncaught exception…
[28.05.2021 12:22.53.835] [ERROR] Error: Cannot find module ‘valid-url’
Require stack: - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js’,
‘/home/pi/MagicMirror/js/app.js’,
‘/home/pi/MagicMirror/js/electron.js’,
‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
undefined
]
}
[28.05.2021 12:22.53.845] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[28.05.2021 12:22.53.848] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[28.05.2021 12:22.54.416] [LOG] Launching application.
[28.05.2021 12:22.54.496] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
-
@thebassfly said in After Update to 2.15, MM ist black.:
Cannot find module ‘valid-url’
this library was removed from mm in 2.15 because of security risks.
some module u are using is using it, but did not declare it in their package.json file dependencies section
do
cd MagicMirror
npm install valid-url