Read the statement by Michael Teeuw here.
[Electron] : black screen
-
@sdetweil said in [Electron] : black screen:
cd modules/MMM-Soccer
sorry but :
pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ cd modules/MMM-Soccer bash: cd: modules/MMM-Soccer: Aucun fichier ou dossier de ce type pi@raspberrypi:~/MagicMirror $so when I wrote
cd modules/MMM-Socceraftercd~ /MagicMirror
it’s a “bash” return… -
I removed MMM-soccer but I have the same problem with Electron
-
with pm2 logs --lines=100
the problem is (it’s wrote in red) :0|mm | [2020-10-16 00:36:17.353] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -
@RIKKO14 looks like u updated to the temporary 2.13, but did not run
npm install
in the MagicMirror folder -
however I did not want to update given all the problems encountered with this update …
I do :
npm installin MM folder and a reboot but the problem still here… -
@RIKKO14 what is the error?
-
@sdetweil I still have a black screen and a problem of Electron.
my pm2 logs --lines=100 :pi@raspberrypi:~ $ pm2 logs --lines=100 [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 100 lines: PM2 | 2020-10-15T23:50:59: PM2 log: pid=24690 msg=process killed PM2 | 2020-10-15T23:50:59: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-15T23:50:59: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:04:33: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:04:34: PM2 log: pid=24871 msg=failed to kill - retrying in 100ms PM2 | 2020-10-16T00:04:34: PM2 log: pid=24871 msg=failed to kill - retrying in 100ms PM2 | 2020-10-16T00:04:34: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:04:34: PM2 log: pid=24871 msg=process killed PM2 | 2020-10-16T00:04:34: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:04:34: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:35:27: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:35:28: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:35:28: PM2 log: pid=25346 msg=process killed PM2 | 2020-10-16T00:35:28: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:35:28: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:35:52: PM2 log: App [mm:0] exited with code [1] via signal [SIGINT] PM2 | 2020-10-16T00:35:52: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:35:52: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:35:53: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:35:53: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:35:53: PM2 log: pid=25895 msg=process killed PM2 | 2020-10-16T00:35:53: PM2 log: PM2 successfully stopped PM2 | 2020-10-16T00:36:03: PM2 log: =============================================================================== PM2 | 2020-10-16T00:36:03: PM2 log: --- New PM2 Daemon started ---------------------------------------------------- PM2 | 2020-10-16T00:36:03: PM2 log: Time : Fri Oct 16 2020 00:36:03 GMT+0200 (GMT+02:00) PM2 | 2020-10-16T00:36:03: PM2 log: PM2 version : 4.4.1 PM2 | 2020-10-16T00:36:03: PM2 log: Node.js version : 10.22.1 PM2 | 2020-10-16T00:36:03: PM2 log: Current arch : arm PM2 | 2020-10-16T00:36:03: PM2 log: PM2 home : /home/pi/.pm2 PM2 | 2020-10-16T00:36:03: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2020-10-16T00:36:03: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2020-10-16T00:36:03: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2020-10-16T00:36:03: PM2 log: Application log path : /home/pi/.pm2/logs PM2 | 2020-10-16T00:36:03: PM2 log: Worker Interval : 30000 PM2 | 2020-10-16T00:36:03: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2020-10-16T00:36:03: PM2 log: Concurrent actions : 2 PM2 | 2020-10-16T00:36:03: PM2 log: SIGTERM timeout : 1600 PM2 | 2020-10-16T00:36:03: PM2 log: =============================================================================== PM2 | 2020-10-16T00:36:03: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:36:03: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:52:35: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:52:35: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:52:35: PM2 log: pid=570 msg=process killed PM2 | 2020-10-16T00:52:35: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:52:35: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:56:01: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:56:01: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:56:01: PM2 log: pid=1655 msg=process killed PM2 | 2020-10-16T00:56:01: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:56:01: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:56:26: PM2 log: App [mm:0] exited with code [1] via signal [SIGINT] PM2 | 2020-10-16T00:56:26: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:56:26: PM2 log: App [mm:0] online PM2 | 2020-10-16T00:56:27: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T00:56:27: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T00:56:27: PM2 log: pid=1881 msg=process killed PM2 | 2020-10-16T00:56:27: PM2 log: PM2 successfully stopped PM2 | 2020-10-16T00:56:36: PM2 log: =============================================================================== PM2 | 2020-10-16T00:56:36: PM2 log: --- New PM2 Daemon started ---------------------------------------------------- PM2 | 2020-10-16T00:56:36: PM2 log: Time : Fri Oct 16 2020 00:56:36 GMT+0200 (GMT+02:00) PM2 | 2020-10-16T00:56:36: PM2 log: PM2 version : 4.4.1 PM2 | 2020-10-16T00:56:36: PM2 log: Node.js version : 10.22.1 PM2 | 2020-10-16T00:56:36: PM2 log: Current arch : arm PM2 | 2020-10-16T00:56:36: PM2 log: PM2 home : /home/pi/.pm2 PM2 | 2020-10-16T00:56:36: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2020-10-16T00:56:36: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2020-10-16T00:56:36: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2020-10-16T00:56:36: PM2 log: Application log path : /home/pi/.pm2/logs PM2 | 2020-10-16T00:56:36: PM2 log: Worker Interval : 30000 PM2 | 2020-10-16T00:56:36: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2020-10-16T00:56:36: PM2 log: Concurrent actions : 2 PM2 | 2020-10-16T00:56:36: PM2 log: SIGTERM timeout : 1600 PM2 | 2020-10-16T00:56:36: PM2 log: =============================================================================== PM2 | 2020-10-16T00:56:36: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T00:56:36: PM2 log: App [mm:0] online PM2 | 2020-10-16T09:24:10: PM2 log: App [mm:0] exited with code [1] via signal [SIGINT] PM2 | 2020-10-16T09:24:10: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T09:24:10: PM2 log: App [mm:0] online PM2 | 2020-10-16T09:24:11: PM2 log: Stopping app:mm id:0 PM2 | 2020-10-16T09:24:11: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2020-10-16T09:24:11: PM2 log: pid=4365 msg=process killed PM2 | 2020-10-16T09:24:11: PM2 log: PM2 successfully stopped PM2 | 2020-10-16T09:24:20: PM2 log: =============================================================================== PM2 | 2020-10-16T09:24:20: PM2 log: --- New PM2 Daemon started ---------------------------------------------------- PM2 | 2020-10-16T09:24:20: PM2 log: Time : Fri Oct 16 2020 09:24:20 GMT+0200 (GMT+02:00) PM2 | 2020-10-16T09:24:20: PM2 log: PM2 version : 4.4.1 PM2 | 2020-10-16T09:24:20: PM2 log: Node.js version : 10.22.1 PM2 | 2020-10-16T09:24:20: PM2 log: Current arch : arm PM2 | 2020-10-16T09:24:20: PM2 log: PM2 home : /home/pi/.pm2 PM2 | 2020-10-16T09:24:20: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2020-10-16T09:24:20: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2020-10-16T09:24:20: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2020-10-16T09:24:20: PM2 log: Application log path : /home/pi/.pm2/logs PM2 | 2020-10-16T09:24:20: PM2 log: Worker Interval : 30000 PM2 | 2020-10-16T09:24:20: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2020-10-16T09:24:20: PM2 log: Concurrent actions : 2 PM2 | 2020-10-16T09:24:20: PM2 log: SIGTERM timeout : 1600 PM2 | 2020-10-16T09:24:20: PM2 log: =============================================================================== PM2 | 2020-10-16T09:24:20: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2020-10-16T09:24:20: PM2 log: App [mm:0] online /home/pi/.pm2/logs/mm-error.log last 100 lines: 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) 0|mm | [2020-10-16 00:56:49.646] [ERROR] Whoops! There was an uncaught exception... 0|mm | [2020-10-16 00:56:49.647] [ERROR] Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|mm | at Module.require (internal/modules/cjs/loader.js:685:19) 0|mm | at require (internal/modules/cjs/helpers.js:16:16) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', 0|mm | '/home/pi/MagicMirror/modules/default/calendar/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [2020-10-16 00:56:49.652] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [2020-10-16 00:56:49.652] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | npm ERR! code ELIFECYCLE 0|mm | npm ERR! errno 1 0|mm | npm ERR! magicmirror@2.14.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 0|mm | npm ERR! Exit status 1 0|mm | npm ERR! 0|mm | npm ERR! Failed at the magicmirror@2.14.0-develop start script. 0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 0|mm | 0|mm | npm ERR! A complete log of this run can be found in: 0|mm | npm ERR! /home/pi/.npm/_logs/2020-10-16T07_24_10_332Z-debug.log 0|mm | [2020-10-16 09:24:34.287] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | [2020-10-16 09:24:34.303] [ERROR] App threw an error during load 0|mm | [2020-10-16 09:24:34.304] [ERROR] Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|mm | at Module.require (internal/modules/cjs/loader.js:685:19) 0|mm | at require (internal/modules/cjs/helpers.js:16:16) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) 0|mm | [2020-10-16 09:24:34.307] [ERROR] Whoops! There was an uncaught exception... 0|mm | [2020-10-16 09:24:34.307] [ERROR] Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|mm | at Module.require (internal/modules/cjs/loader.js:685:19) 0|mm | at require (internal/modules/cjs/helpers.js:16:16) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', 0|mm | '/home/pi/MagicMirror/modules/default/calendar/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [2020-10-16 09:24:34.316] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [2020-10-16 09:24:34.317] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/mm-out.log last 100 lines: 0|mm | [2020-10-16 00:52:41.518] [LOG] Launching application. 0|mm | 0|mm | > magicmirror@2.14.0-develop start /home/pi/MagicMirror 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | 0|mm | [2020-10-16 00:56:03.770] [LOG] Starting MagicMirror: v2.14.0-develop 0|mm | [2020-10-16 00:56:03.778] [LOG] Loading config ... 0|mm | [2020-10-16 00:56:03.785] [LOG] Loading module helpers ... 0|mm | [2020-10-16 00:56:03.787] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 00:56:03.833] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:03.834] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 00:56:06.505] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:06.505] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 00:56:07.591] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.591] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 00:56:07.848] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.849] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 00:56:07.854] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.855] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 00:56:07.855] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 00:56:07.864] [LOG] Loading module helpers ... 0|mm | [2020-10-16 00:56:07.865] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 00:56:07.865] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.866] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 00:56:07.867] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.867] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 00:56:07.867] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.868] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 00:56:07.868] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.869] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 00:56:07.869] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:07.870] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 00:56:07.870] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 00:56:07.972] [LOG] Launching application. 0|mm | 0|mm | > magicmirror@2.14.0-develop start /home/pi/MagicMirror 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | 0|mm | [2020-10-16 00:56:42.884] [LOG] Starting MagicMirror: v2.14.0-develop 0|mm | [2020-10-16 00:56:42.911] [LOG] Loading config ... 0|mm | [2020-10-16 00:56:42.920] [LOG] Loading module helpers ... 0|mm | [2020-10-16 00:56:42.923] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 00:56:43.001] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:43.002] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 00:56:47.278] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:47.280] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 00:56:49.147] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.147] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 00:56:49.589] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.589] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 00:56:49.618] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.618] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 00:56:49.620] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 00:56:49.635] [LOG] Loading module helpers ... 0|mm | [2020-10-16 00:56:49.636] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 00:56:49.636] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.637] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 00:56:49.637] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.638] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 00:56:49.638] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.639] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 00:56:49.639] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.640] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 00:56:49.640] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 00:56:49.640] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 00:56:49.641] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 00:56:49.950] [LOG] Launching application. 0|mm | 0|mm | > magicmirror@2.14.0-develop start /home/pi/MagicMirror 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | 0|mm | [2020-10-16 09:24:27.338] [LOG] Starting MagicMirror: v2.14.0-develop 0|mm | [2020-10-16 09:24:27.364] [LOG] Loading config ... 0|mm | [2020-10-16 09:24:27.376] [LOG] Loading module helpers ... 0|mm | [2020-10-16 09:24:27.379] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 09:24:27.456] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:27.457] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 09:24:31.742] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:31.743] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 09:24:33.721] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:33.724] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 09:24:34.210] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.211] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 09:24:34.262] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.263] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 09:24:34.265] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 09:24:34.288] [LOG] Loading module helpers ... 0|mm | [2020-10-16 09:24:34.289] [LOG] No helper found for module: alert. 0|mm | [2020-10-16 09:24:34.291] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.291] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-16 09:24:34.292] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.293] [LOG] Module helper loaded: MMM-GoogleAssistant 0|mm | [2020-10-16 09:24:34.294] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.295] [LOG] Module helper loaded: MMM-Assistant2Display 0|mm | [2020-10-16 09:24:34.296] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.296] [LOG] Module helper loaded: MMM-UpdateNotification 0|mm | [2020-10-16 09:24:34.297] [LOG] Initializing new module helper ... 0|mm | [2020-10-16 09:24:34.298] [LOG] Module helper loaded: MMM-DHT-Sensor 0|mm | [2020-10-16 09:24:34.299] [LOG] No helper found for module: clock. 0|mm | [2020-10-16 09:24:34.680] [LOG] Launching application.and this is an extraction of the red lines (so, the problem) of pm2 logs --lines =100 :
0|mm | npm ERR! /home/pi/.npm/_logs/2020-10-16T07_24_10_332Z-debug.log 0|mm | [2020-10-16 09:24:34.287] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - -
should I do that ? :
cd ~/MagicMirror rm -rf node_modules/electron npm install electron@6.1.12I see you request to someone to do that…
-
@RIKKO14 over and over it says library package node-ical is missing.
after you switch to the develop branch you MUST run npm install from the MagicMirror folder
-
@sdetweil so this is what i wrote in the terminal :
pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ npm install npm ERR! code EISGIT npm ERR! path /home/pi/MagicMirror/node_modules/ical 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/2020-10-16T13_54_17_756Z-debug.log pi@raspberrypi:~/MagicMirror $ run npm install bash: run : commande introuvablecd ~/MagicMirror/,npm installrun npm installbut there is a bash return :bash : run : commande introuvable -
-
@sdetweil it’s work,
T.H.A.N.K Y.O.U !!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login