Hi there,
I just started up my Mirror and i’ve setup a sh file to automaticly start it, it started but it was a blank screen. I then went into terminal and manually started it and it produced the following error. Please help! Another thing is that my Pi keeps changing its IP address how do i fix that?
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.13.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
[2020-10-18 11:40:30.509] [LOG] Starting MagicMirror: v2.13.0
[2020-10-18 11:40:30.537] [LOG] Loading config …
[2020-10-18 11:40:30.554] [LOG] Loading module helpers …
[2020-10-18 11:40:30.564] [LOG] No helper found for module: alert.
[2020-10-18 11:40:30.751] [LOG] Initializing new module helper …
[2020-10-18 11:40:30.758] [LOG] Module helper loaded: updatenotification
[2020-10-18 11:40:31.738] [LOG] Initializing new module helper …
[2020-10-18 11:40:31.739] [LOG] Module helper loaded: MMM-Dad-Jokes
[2020-10-18 11:40:32.639] [LOG] Initializing new module helper …
[2020-10-18 11:40:32.641] [LOG] Module helper loaded: MMM-Screencast
[2020-10-18 11:40:32.642] [LOG] No helper found for module: on-this-day.
[2020-10-18 11:40:33.072] [LOG] Initializing new module helper …
[2020-10-18 11:40:33.074] [LOG] Module helper loaded: MMM-Remote-Control
[2020-10-18 11:40:33.137] [LOG] Initializing new module helper …
[2020-10-18 11:40:33.138] [LOG] Module helper loaded: MMM-learnlanguage
[2020-10-18 11:40:34.381] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.384] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
[2020-10-18 11:40:34.389] [LOG] No helper found for module: clock.
[2020-10-18 11:40:34.411] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘node-ical’
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/main.js
[2020-10-18 11:40:34.413] [LOG] Loading module helpers …
[2020-10-18 11:40:34.416] [LOG] No helper found for module: alert.
[2020-10-18 11:40:34.419] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.422] [LOG] Module helper loaded: updatenotification
[2020-10-18 11:40:34.425] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.427] [LOG] Module helper loaded: MMM-Dad-Jokes
[2020-10-18 11:40:34.430] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.433] [LOG] Module helper loaded: MMM-Screencast
[2020-10-18 11:40:34.436] [LOG] No helper found for module: on-this-day.
[2020-10-18 11:40:34.438] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.439] [LOG] Module helper loaded: MMM-Remote-Control
[2020-10-18 11:40:34.440] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.441] [LOG] Module helper loaded: MMM-learnlanguage
[2020-10-18 11:40:34.443] [LOG] Initializing new module helper …
[2020-10-18 11:40:34.444] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
[2020-10-18 11:40:34.445] [LOG] No helper found for module: clock.
[2020-10-18 11:40:34.455] [ERROR] App threw an error during load
[2020-10-18 11:40:34.459] [ERROR] Error: Cannot find module ‘node-ical’
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/main.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Function.Module._load (internal/modules/cjs/loader.js:531:27)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14)
at Module._compile (internal/modules/cjs/loader.js:786:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
at Module.load (internal/modules/cjs/loader.js:645:32)
[2020-10-18 11:40:34.465] [ERROR] Whoops! There was an uncaught exception…
[2020-10-18 11:40:34.467] [ERROR] Error: Cannot find module ‘node-ical’
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/main.js
- at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Function.Module._load (internal/modules/cjs/loader.js:531:27)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14)
at Module._compile (internal/modules/cjs/loader.js:786:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
at Module.load (internal/modules/cjs/loader.js:645:32) {
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
]
}
[2020-10-18 11:40:34.488] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-10-18 11:40:34.491] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[2020-10-18 11:40:34.728] [LOG] Launching application.
^C[2020-10-18 11:41:56.034] [LOG] Shutting down server…
[2020-10-18 11:41:56.043] [LOG] Stopping module helper: updatenotification
[2020-10-18 11:41:56.045] [LOG] Stopping module helper: MMM-Dad-Jokes
[2020-10-18 11:41:56.048] [LOG] Stopping module helper: MMM-Screencast
[2020-10-18 11:41:56.049] [ERROR] Whoops! There was an uncaught exception…
[2020-10-18 11:41:56.050] [ERROR] TypeError: Cannot convert undefined or null to object
at Function.keys ()
at Class.stop (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:70:20)
at App.stop (/home/pi/MagicMirror/js/app.js:262:16)
at App. (/home/pi/MagicMirror/js/electron.js:122:7)
at App.emit (events.js:200:13)
[2020-10-18 11:41:56.053] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-10-18 11:41:56.054] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues