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.
    • 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 Offline
        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 Offline
            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 Offline
                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 Offline
                        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
                        • 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