Read the statement by Michael Teeuw here.
Magic mirror not starting
-
@zolabus need to see the messages from start
-
@sdetweil I do not have any messages…only a white flash then blank monitor
-
@zolabus on the pi you issue
npm start
or pm2 start MagicMirrorthat is where u look for messages,
not on the mirror screenyou should see stuff like
~/MagicMirror$ npm start > magicmirror@2.17.1 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [30.12.2021 17:00.28.545] [LOG] Starting MagicMirror: v2.17.1 [30.12.2021 17:00.28.546] [LOG] Loading config ... [30.12.2021 17:00.28.547] [LOG] Loading module helpers ... [30.12.2021 17:00.28.547] [LOG] trying to load module=alert [30.12.2021 17:00.28.547] [LOG] No helper found for module: alert. [30.12.2021 17:00.28.548] [LOG] trying to load module=clock [30.12.2021 17:00.28.548] [LOG] No helper found for module: clock. [30.12.2021 17:00.28.548] [LOG] trying to load module=calendar [30.12.2021 17:00.28.574] [LOG] Initializing new module helper ... [30.12.2021 17:00.28.574] [LOG] Module helper loaded: calendar [30.12.2021 17:00.28.574] [LOG] trying to load module=compliments [30.12.2021 17:00.28.574] [LOG] No helper found for module: compliments. [30.12.2021 17:00.28.574] [LOG] trying to load module=MMM-Config [30.12.2021 17:00.28.625] [LOG] Initializing new module helper ... [30.12.2021 17:00.28.625] [LOG] Module helper loaded: MMM-Config [30.12.2021 17:00.28.626] [LOG] trying to load module=MMM-WunderGround-PWS-Observations [30.12.2021 17:00.28.672] [LOG] Initializing new module helper ... [30.12.2021 17:00.28.672] [LOG] Module helper loaded: MMM-WunderGround-PWS-Observations [30.12.2021 17:00.28.672] [LOG] trying to load module=MMM-Carousel [30.12.2021 17:00.28.672] [LOG] No helper found for module: MMM-Carousel. [30.12.2021 17:00.28.672] [LOG] trying to load module=MMM-TimeTreeEvent [30.12.2021 17:00.28.723] [LOG] Initializing new module helper ... [30.12.2021 17:00.28.723] [LOG] Module helper loaded: MMM-TimeTreeEvent [30.12.2021 17:00.28.723] [LOG] trying to load module=MMM-SleepWake [30.12.2021 17:00.28.723] [LOG] handler helper in init [30.12.2021 17:00.28.723] [LOG] Module helper loaded: MMM-SleepWake [30.12.2021 17:00.28.724] [LOG] All module helpers loaded. [30.12.2021 17:00.28.735] [LOG] Starting server on port 8090 ... [30.12.2021 17:00.28.736] [WARN] You're using a full whitelist configuration to allow for all IPs [30.12.2021 17:00.28.738] [LOG] Server started ...
-
@sdetweil pi@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”
[01.01.2022 11:39.38.805] [LOG] Starting MagicMirror: v2.17.1
[01.01.2022 11:39.38.821] [LOG] Loading config …
[01.01.2022 11:39.38.846] [LOG] Loading module helpers …
[01.01.2022 11:39.38.853] [LOG] No helper found for module: alert.
[01.01.2022 11:39.38.927] [LOG] Initializing new module helper …
[01.01.2022 11:39.38.932] [LOG] Module helper loaded: updatenotification
[01.01.2022 11:39.38.937] [LOG] No helper found for module: clock.
[01.01.2022 11:39.40.614] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'digest-fetch ’
Require stack:- /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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
[01.01.2022 11:39.40.623] [LOG] Loading module helpers …
[01.01.2022 11:39.40.631] [LOG] No helper found for module: alert.
[01.01.2022 11:39.40.637] [LOG] Initializing new module helper …
[01.01.2022 11:39.40.642] [LOG] Module helper loaded: updatenotification
[01.01.2022 11:39.40.646] [LOG] No helper found for module: clock.
[01.01.2022 11:39.40.658] [ERROR] App threw an error during load
[01.01.2022 11:39.40.687] [ERROR] Error: Cannot find module ‘digest-fetch’
Require stack:- /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (elec tron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-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/default/calendar/calenda rfetcher.js:12:16)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
[01.01.2022 11:39.40.706] [ERROR] Whoops! There was an uncaught exception…
[01.01.2022 11:39.40.728] [ERROR] Error: Cannot find module ‘digest-fetch’
Require stack: - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (elec tron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-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/default/calendar/calenda rfetcher.js:12:16)
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/default/calendar/calendarfetcher.js’,
‘/home/pi/MagicMirror/modules/default/calendar/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
]
}
[01.01.2022 11:39.40.754] [ERROR] MagicMirror will not quit, but it might be a g ood idea to check why this happened. Maybe no internet connection?
[01.01.2022 11:39.40.761] [ERROR] If you think this really is an issue, please o pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[01.01.2022 11:39.41.576] [LOG] Launching application.
[01.01.2022 11:39.41.658] [WARN] (electron) The default value of app.allowRende rerProcessReuse is deprecated, it is currently “false”. It will change to be “t rue” in Electron 9. For more information please check https://github.com/electr on/electron/issues/18397
Thanks
-
@zolabus edited
see the comments below…
-
in this case I don’t think it is the problem you mentioned with the link.
digest-fetch
is a core dependency, so he may forgot to runnpm install
in the mm folder. Or if it’s an old installation which is suddenly not working anymore this is may caused by a corrupt SD Card. -
@karsten13 ok, got it… I agree…
-
@sdetweil run npm install with this output
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I’ll try to do my best with it!
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.3.2 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})npm ERR! path /home/pi/MagicMirror/node_modules/ical
npm ERR! code EISGIT
npm ERR! git /home/pi/MagicMirror/node_modules/ical: Appears to be a git repo or submodule.
npm ERR! git /home/pi/MagicMirror/node_modules/ical
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-01-01T16_16_01_042Z-debug.log -
@zolabus we don’t use ical anymore. weird, do
cd ~/MagicMirror rm -rf node_modules npm install
-
@sdetweil same problem…