Read the statement by Michael Teeuw here.
Magic mirror not starting
-
@sdetweil said in Magic mirror not starting:
grep version ~/MagicMirror/package.json
“version”: “2.17.1”,
-
@karsten13 done…
My log now ispi@magicmirror:~/MagicMirror $ npm start
magicmirror@2.17.1 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.jsFontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown element “blank”
[03.01.2022 09:56.26.101] [LOG] Starting MagicMirror: v2.17.1
[03.01.2022 09:56.26.130] [LOG] Loading config …
[03.01.2022 09:56.26.156] [LOG] Loading module helpers …
[03.01.2022 09:56.26.166] [LOG] No helper found for module: alert.
[03.01.2022 09:56.26.238] [LOG] Initializing new module helper …
[03.01.2022 09:56.26.243] [LOG] Module helper loaded: updatenotification
[03.01.2022 09:56.26.246] [LOG] No helper found for module: clock.
[03.01.2022 09:56.27.074] [LOG] Initializing new module helper …
[03.01.2022 09:56.27.078] [LOG] Module helper loaded: calendar
[03.01.2022 09:56.28.016] [LOG] Initializing new module helper …
[03.01.2022 09:56.28.020] [LOG] Module helper loaded: MMM-GooglePhotos
[03.01.2022 09:56.29.319] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.323] [LOG] Module helper loaded: MMM-DarkSkyForecast
[03.01.2022 09:56.29.407] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.409] [LOG] Module helper loaded: newsfeed
[03.01.2022 09:56.29.412] [LOG] No helper found for module: compliments.
[03.01.2022 09:56.29.427] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/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/mai n.js
[03.01.2022 09:56.29.432] [LOG] Loading module helpers …
[03.01.2022 09:56.29.439] [LOG] No helper found for module: alert.
[03.01.2022 09:56.29.442] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.444] [LOG] Module helper loaded: updatenotification
[03.01.2022 09:56.29.447] [LOG] No helper found for module: clock.
[03.01.2022 09:56.29.450] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.454] [LOG] Module helper loaded: calendar
[03.01.2022 09:56.29.459] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.462] [LOG] Module helper loaded: MMM-GooglePhotos
[03.01.2022 09:56.29.467] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.470] [LOG] Module helper loaded: MMM-DarkSkyForecast
[03.01.2022 09:56.29.473] [LOG] Initializing new module helper …
[03.01.2022 09:56.29.475] [LOG] Module helper loaded: newsfeed
[03.01.2022 09:56.29.478] [LOG] No helper found for module: compliments.
[03.01.2022 09:56.29.487] [ERROR] App threw an error during load
[03.01.2022 09:56.29.497] [ERROR] Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/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/mai n.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node _helper.js:11:15)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
[03.01.2022 09:56.29.503] [ERROR] Whoops! There was an uncaught exception…
[03.01.2022 09:56.29.526] [ERROR] Error: Cannot find module ‘request’
Require stack: - /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/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/mai n.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node _helper.js:11:15)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/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
]
}
[03.01.2022 09:56.29.545] [ERROR] MagicMirror will not quit, but it might be a g ood idea to check why this happened. Maybe no internet connection?
[03.01.2022 09:56.29.548] [ERROR] If you think this really is an issue, please o pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[03.01.2022 09:56.30.426] [LOG] Launching application.
-
I saved all the modules I had installed…
What else for a backup?
What about a clean reinstallation?
How can I delete everything? It’s enough if I delete the MagicMirror folder? -
@zolabus said in Magic mirror not starting:
Cannot find module ‘request’
see
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later -
@zolabus Hi all after all I found a couple of modules causing the issue…
I started from a standard config file and added the modules one by one.
Now I have my magic mirror back
Thanks