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 5.7k 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.
    • 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
                      • S Do not disturb
                        sdetweil @RIKKO14
                        last edited by

                        @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

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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