MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [Electron] : black screen

    Scheduled Pinned Locked Moved Troubleshooting
    28 Posts 2 Posters 6.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      RIKKO14
      last edited by

      @sdetweil i’ve made :

      cd ~/MagicMirror
      
      npm install electron-rebuild
      

      but when i wrote cd modules/??? modulename there is a bash
      what is the ???modulename should I write?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @RIKKO14
        last edited by

        @RIKKO14 MMM-soccer

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @sdetweil
          last edited by

          @RIKKO14 but you are missing some library file

          do this

          pm2 logs --lines=100

          instead of default

          pm2 logs --lines=15

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by

            i don’t anderstand i wrote :

            pi@raspberrypi:~/MagicMirror $ npm install electron-rebuild
            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-15T22_14_09_495Z-debug.log
            pi@raspberrypi:~/MagicMirror $ cd modules/MMM-soccer
            pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ ~/MagicMirror/node_modules/,bin/electron-rebuild
            bash: /home/pi/MagicMirror/node_modules/,bin/electron-rebuild: Aucun fichier ou dossier de ce type```
            S 1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by

              @sdetweil said in [Electron] : black screen:

              pm2 logs --lines=100

              pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ 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:33:15: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:15: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:16: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:16: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:16: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:17: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:17: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:17: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:18: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:18: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:18: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:19: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:19: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:19: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:20: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:20: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:20: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:21: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:21: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:21: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:22: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:22: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:22: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:23: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:23: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:23: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:24: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:24: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:24: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:25: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:25: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:25: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:26: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:26: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:26: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:27: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:27: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:27: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:28: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:28: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:28: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:29: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:29: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:29: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:30: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:30: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:30: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:32: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:32: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:32: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:33: PM2 log: App [MagicMirror:1] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:33: PM2 log: App [MagicMirror:1] starting in -fork mode-
              PM2        | 2020-10-15T23:33:33: PM2 log: App [MagicMirror:1] online
              PM2        | 2020-10-15T23:33:34: PM2 log: App [mm:0] exited with code [1] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:34: PM2 log: App [mm:0] starting in -fork mode-
              PM2        | 2020-10-15T23:33:34: PM2 log: App [mm:0] online
              PM2        | 2020-10-15T23:33:35: PM2 log: Stopping app:mm id:0
              PM2        | 2020-10-15T23:33:35: PM2 log: Stopping app:MagicMirror id:1
              PM2        | 2020-10-15T23:33:35: PM2 log: App [MagicMirror:1] exited with code [0] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:35: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
              PM2        | 2020-10-15T23:33:35: PM2 log: pid=7359 msg=process killed
              PM2        | 2020-10-15T23:33:35: PM2 log: pid=7376 msg=process killed
              PM2        | 2020-10-15T23:33:35: PM2 log: PM2 successfully stopped
              PM2        | 2020-10-15T23:33:46: PM2 log: ===============================================================================
              PM2        | 2020-10-15T23:33:46: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
              PM2        | 2020-10-15T23:33:46: PM2 log: Time                 : Thu Oct 15 2020 23:33:46 GMT+0200 (GMT+02:00)
              PM2        | 2020-10-15T23:33:46: PM2 log: PM2 version          : 4.4.1
              PM2        | 2020-10-15T23:33:46: PM2 log: Node.js version      : 10.22.1
              PM2        | 2020-10-15T23:33:46: PM2 log: Current arch         : arm
              PM2        | 2020-10-15T23:33:46: PM2 log: PM2 home             : /home/pi/.pm2
              PM2        | 2020-10-15T23:33:46: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
              PM2        | 2020-10-15T23:33:46: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
              PM2        | 2020-10-15T23:33:46: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
              PM2        | 2020-10-15T23:33:46: PM2 log: Application log path : /home/pi/.pm2/logs
              PM2        | 2020-10-15T23:33:46: PM2 log: Worker Interval      : 30000
              PM2        | 2020-10-15T23:33:46: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
              PM2        | 2020-10-15T23:33:46: PM2 log: Concurrent actions   : 2
              PM2        | 2020-10-15T23:33:46: PM2 log: SIGTERM timeout      : 1600
              PM2        | 2020-10-15T23:33:46: PM2 log: ===============================================================================
              PM2        | 2020-10-15T23:33:46: PM2 log: App [mm:0] starting in -fork mode-
              PM2        | 2020-10-15T23:33:46: PM2 log: App [mm:0] online
              PM2        | 2020-10-15T23:47:47: PM2 log: Stopping app:mm id:0
              PM2        | 2020-10-15T23:47:47: PM2 log: pid=623 msg=failed to kill - retrying in 100ms
              PM2        | 2020-10-15T23:47:47: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
              PM2        | 2020-10-15T23:47:47: PM2 log: pid=623 msg=process killed
              PM2        | 2020-10-15T23:47:47: PM2 log: App [mm:0] starting in -fork mode-
              PM2        | 2020-10-15T23:47:47: PM2 log: App [mm:0] online
              PM2        | 2020-10-15T23:50:59: PM2 log: Stopping app:mm id:0
              PM2        | 2020-10-15T23:50:59: PM2 log: pid=24690 msg=failed to kill - retrying in 100ms
              PM2        | 2020-10-15T23:50:59: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
              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
              
              /home/pi/.pm2/logs/mm-error.log last 100 lines:
              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-15 23:51:05.713] [ERROR]  Whoops! There was an uncaught exception...
              0|mm       | [2020-10-15 23:51:05.714] [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-15 23:51:05.719] [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-15 23:51:05.719] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
              0|mm       | [2020-10-16 00:04:40.978] [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 00:04:40.988] [ERROR]  App threw an error during load
              0|mm       | [2020-10-16 00:04:40.989] [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 00:04:40.991] [ERROR]  Whoops! There was an uncaught exception...
              0|mm       | [2020-10-16 00:04:40.991] [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:04:40.997] [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:04:40.997] [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-15 23:47:58.005] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:47:58.005] [LOG]    Module helper loaded: updatenotification
              0|mm       | [2020-10-15 23:47:58.006] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:47:58.006] [LOG]    Module helper loaded: MMM-GoogleAssistant
              0|mm       | [2020-10-15 23:47:58.007] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:47:58.007] [LOG]    Module helper loaded: MMM-Assistant2Display
              0|mm       | [2020-10-15 23:47:58.007] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:47:58.008] [LOG]    Module helper loaded: MMM-UpdateNotification
              0|mm       | [2020-10-15 23:47:58.008] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:47:58.009] [LOG]    Module helper loaded: MMM-DHT-Sensor
              0|mm       | [2020-10-15 23:47:58.009] [LOG]    No helper found for module: clock.
              0|mm       | [2020-10-15 23:47:58.199] [LOG]    Launching application.
              0|mm       | [2020-10-15 23:50:59.630] [LOG]    Shutting down server...
              0|mm       | [2020-10-15 23:50:59.631] [LOG]    Stopping module helper: updatenotification
              0|mm       | [2020-10-15 23:50:59.631] [LOG]    Stopping module helper: MMM-GoogleAssistant
              0|mm       | [2020-10-15 23:50:59.632] [LOG]    Stopping module helper: MMM-Assistant2Display
              0|mm       | [2020-10-15 23:50:59.632] [LOG]    Stopping module helper: MMM-UpdateNotification
              0|mm       | [2020-10-15 23:50:59.632] [LOG]    Stopping module helper: MMM-DHT-Sensor
              0|mm       | [2020-10-15 23:50:59.633] [LOG]    Stopping module helper: updatenotification
              0|mm       | [2020-10-15 23:50:59.633] [LOG]    Stopping module helper: MMM-GoogleAssistant
              0|mm       | [2020-10-15 23:50:59.633] [LOG]    Stopping module helper: MMM-Assistant2Display
              0|mm       | [2020-10-15 23:50:59.634] [LOG]    Stopping module helper: MMM-UpdateNotification
              0|mm       | [2020-10-15 23:50:59.634] [LOG]    Stopping module helper: MMM-DHT-Sensor
              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-15 23:51:01.956] [LOG]    Starting MagicMirror: v2.14.0-develop
              0|mm       | [2020-10-15 23:51:01.964] [LOG]    Loading config ...
              0|mm       | [2020-10-15 23:51:01.970] [LOG]    Loading module helpers ...
              0|mm       | [2020-10-15 23:51:01.972] [LOG]    No helper found for module: alert.
              0|mm       | [2020-10-15 23:51:02.014] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:02.014] [LOG]    Module helper loaded: updatenotification
              0|mm       | [2020-10-15 23:51:04.460] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:04.461] [LOG]    Module helper loaded: MMM-GoogleAssistant
              0|mm       | [2020-10-15 23:51:05.465] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.465] [LOG]    Module helper loaded: MMM-Assistant2Display
              0|mm       | [2020-10-15 23:51:05.687] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.688] [LOG]    Module helper loaded: MMM-UpdateNotification
              0|mm       | [2020-10-15 23:51:05.693] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.694] [LOG]    Module helper loaded: MMM-DHT-Sensor
              0|mm       | [2020-10-15 23:51:05.695] [LOG]    No helper found for module: clock.
              0|mm       | [2020-10-15 23:51:05.702] [LOG]    Loading module helpers ...
              0|mm       | [2020-10-15 23:51:05.703] [LOG]    No helper found for module: alert.
              0|mm       | [2020-10-15 23:51:05.704] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.704] [LOG]    Module helper loaded: updatenotification
              0|mm       | [2020-10-15 23:51:05.704] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.705] [LOG]    Module helper loaded: MMM-GoogleAssistant
              0|mm       | [2020-10-15 23:51:05.705] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.706] [LOG]    Module helper loaded: MMM-Assistant2Display
              0|mm       | [2020-10-15 23:51:05.706] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.707] [LOG]    Module helper loaded: MMM-UpdateNotification
              0|mm       | [2020-10-15 23:51:05.707] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-15 23:51:05.707] [LOG]    Module helper loaded: MMM-DHT-Sensor
              0|mm       | [2020-10-15 23:51:05.708] [LOG]    No helper found for module: clock.
              0|mm       | [2020-10-15 23:51:05.828] [LOG]    Launching application.
              0|mm       | [2020-10-16 00:04:34.022] [LOG]    Shutting down server...
              0|mm       | [2020-10-16 00:04:34.024] [LOG]    Stopping module helper: updatenotification
              0|mm       | [2020-10-16 00:04:34.026] [LOG]    Stopping module helper: MMM-GoogleAssistant
              0|mm       | [2020-10-16 00:04:34.026] [LOG]    Stopping module helper: MMM-Assistant2Display
              0|mm       | [2020-10-16 00:04:34.027] [LOG]    Stopping module helper: MMM-UpdateNotification
              0|mm       | [2020-10-16 00:04:34.027] [LOG]    Stopping module helper: MMM-DHT-Sensor
              0|mm       | [2020-10-16 00:04:34.027] [LOG]    Stopping module helper: updatenotification
              0|mm       | [2020-10-16 00:04:34.028] [LOG]    Stopping module helper: MMM-GoogleAssistant
              0|mm       | [2020-10-16 00:04:34.028] [LOG]    Stopping module helper: MMM-Assistant2Display
              0|mm       | [2020-10-16 00:04:34.028] [LOG]    Stopping module helper: MMM-UpdateNotification
              0|mm       | [2020-10-16 00:04:34.029] [LOG]    Stopping module helper: MMM-DHT-Sensor
              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:04:36.693] [LOG]    Starting MagicMirror: v2.14.0-develop
              0|mm       | [2020-10-16 00:04:36.701] [LOG]    Loading config ...
              0|mm       | [2020-10-16 00:04:36.711] [LOG]    Loading module helpers ...
              0|mm       | [2020-10-16 00:04:36.717] [LOG]    No helper found for module: alert.
              0|mm       | [2020-10-16 00:04:36.766] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:36.767] [LOG]    Module helper loaded: updatenotification
              0|mm       | [2020-10-16 00:04:39.562] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:39.563] [LOG]    Module helper loaded: MMM-GoogleAssistant
              0|mm       | [2020-10-16 00:04:40.701] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.702] [LOG]    Module helper loaded: MMM-Assistant2Display
              0|mm       | [2020-10-16 00:04:40.958] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.959] [LOG]    Module helper loaded: MMM-UpdateNotification
              0|mm       | [2020-10-16 00:04:40.967] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.968] [LOG]    Module helper loaded: MMM-DHT-Sensor
              0|mm       | [2020-10-16 00:04:40.968] [LOG]    No helper found for module: clock.
              0|mm       | [2020-10-16 00:04:40.979] [LOG]    Loading module helpers ...
              0|mm       | [2020-10-16 00:04:40.980] [LOG]    No helper found for module: alert.
              0|mm       | [2020-10-16 00:04:40.980] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.981] [LOG]    Module helper loaded: updatenotification
              0|mm       | [2020-10-16 00:04:40.981] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.982] [LOG]    Module helper loaded: MMM-GoogleAssistant
              0|mm       | [2020-10-16 00:04:40.982] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.983] [LOG]    Module helper loaded: MMM-Assistant2Display
              0|mm       | [2020-10-16 00:04:40.983] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.984] [LOG]    Module helper loaded: MMM-UpdateNotification
              0|mm       | [2020-10-16 00:04:40.984] [LOG]    Initializing new module helper ...
              0|mm       | [2020-10-16 00:04:40.984] [LOG]    Module helper loaded: MMM-DHT-Sensor
              0|mm       | [2020-10-16 00:04:40.985] [LOG]    No helper found for module: clock.
              0|mm       | [2020-10-16 00:04:41.105] [LOG]    Launching application.
              
              
              1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @RIKKO14
                last edited by

                @RIKKO14 said in [Electron] : black screen:

                npm install electron-rebuild

                NOT in the root MM folder

                in the folder of the modules u had trouble with

                cd modules/MMM-Soccer
                ../../node_modules/.bin/electron-rebuild 
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • R Offline
                  RIKKO14
                  last edited by

                  @sdetweil said in [Electron] : black screen:

                  node_modules/,bin/electron-rebuild

                  I’m very sorry but i don’t anderstand what I must write if the problem is about MMM-soccer…

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @sdetweil
                    last edited by

                    @sdetweil said in [Electron] : black screen:

                    cd modules/MMM-Soccer
                    ../../node_modules/.bin/electron-rebuild 
                    

                    get into the MMM-Soccer folder
                    then
                    execute the electron-rebuild from back up the tree towards the MagicMirror base folder

                    you can do that without moving, same as one windows

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RIKKO14
                      last edited by

                      i wrote this :

                      pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ cd ~/MagicMirror
                      pi@raspberrypi:~/MagicMirror $ npm install electron-rebuild
                      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-15T22_25_39_745Z-debug.log```
                      
                      and after ?
                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @RIKKO14
                        last edited by

                        @RIKKO14 i know, you are in the wrong place… I gave u the exact commands to enter

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          RIKKO14
                          last edited by

                          I still do not understand…

                          pi@raspberrypi:~/MagicMirror $ cd ~/MagicMirror/modules/MMM-soccer/node_modules/,bin/electron-rebuild
                          bash: cd: /home/pi/MagicMirror/modules/MMM-soccer/node_modules/,bin/electron-rebuild: Aucun fichier ou dossier de ce type
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @RIKKO14
                            last edited by

                            @RIKKO14 said in [Electron] : black screen:

                            pi@raspberrypi:~/MagicMirror

                            you are here

                            ~/MagicMirror
                            

                            do these commands

                            cd modules/MMM-Soccer
                            ../../node_modules/.bin/electron-rebuild
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              RIKKO14
                              last edited by

                              @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-Soccer after cd~ /MagicMirror
                              it’s a “bash” return…

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                RIKKO14
                                last edited by

                                I removed MMM-soccer but I have the same problem with Electron

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  RIKKO14
                                  last edited by RIKKO14

                                  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
                                  
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @RIKKO14
                                    last edited by

                                    @RIKKO14 looks like u updated to the temporary 2.13, but did not run

                                    npm install
                                    in the MagicMirror folder

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      RIKKO14
                                      last edited by

                                      however I did not want to update given all the problems encountered with this update …

                                      I do : npm install in MM folder and a reboot but the problem still here…

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @RIKKO14
                                        last edited by

                                        @RIKKO14 what is the error?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          RIKKO14
                                          last edited by

                                          @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       | - 
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            RIKKO14
                                            last edited by

                                            should I do that ? :

                                            cd ~/MagicMirror
                                            rm -rf node_modules/electron
                                            npm install electron@6.1.12
                                            

                                            I see you request to someone to do that…

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy