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.

    Black screen after install update v2.2

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 7 Posters 7.7k Views 6 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @Blackmirror
      last edited by

      @Blackmirror can you run your mirror with npm start dev and check for errors in the console?

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 0
      • B Offline
        Blackmirror
        last edited by

        Okay. here:

        //Starting MagicMirror: v2.2.0
        Loading config ...
        Loading module helpers ...
        No helper found for module: alert.
        No helper found for module: MMM-Carousel.
        WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 50, got 53.
        Loading module helpers ...
        No helper found for module: alert.
        No helper found for module: MMM-Carousel.
        App threw an error during load
        Error: Module version mismatch. Expected 50, got 53.
            at Error (native)
            at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
            at Object.Module._extensions..node (module.js:583:18)
            at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
            at Module.load (module.js:473:32)
            at tryModuleLoad (module.js:432:12)
            at Function.Module._load (module.js:424:3)
            at Module.require (module.js:483:17)
            at require (internal/module.js:20:19)
            at bindings (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:76:44)
        Whoops! There was an uncaught exception...
        Error: Module version mismatch. Expected 50, got 53.
            at Error (native)
            at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
            at Object.Module._extensions..node (module.js:583:18)
            at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
            at Module.load (module.js:473:32)
            at tryModuleLoad (module.js:432:12)
            at Function.Module._load (module.js:424:3)
            at Module.require (module.js:483:17)
            at require (internal/module.js:20:19)
            at bindings (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/bindings/bindings.js:76:44)
        MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        Launching application.
        
        
        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @Blackmirror
          last edited by

          @Blackmirror try to got to cd /home/pi/MagicMirror/modules/MMM-Buttons and run npm rebuild

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • B Offline
            Blackmirror
            last edited by

            Okay. after npm rebuild the Mirror is still black.

            1 Reply Last reply Reply Quote 0
            • P Offline
              Peter
              last edited by

              I updated to V2.2.1 on my RPI2: no problem.
              Calendar entries work better now.
              Thanks for the work!
              Peter

              1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer
                last edited by

                My suggestion would be to back your modules and your working config.js and delete MM and install the new version… That’s the quickest and easiest way

                1 Reply Last reply Reply Quote 1
                • C Offline
                  carltonb
                  last edited by

                  I had to do a complete reinstall. Used a backed up sd card and the same error kept appearing in the logs. Backed up all my configs and mods. Did a fresh install and all works fine. Could have been one of the modules that gave it an error, I do not know but the calendar works great now.
                  Thanks
                  carltonb

                  cowboysdudeC 1 Reply Last reply Reply Quote 2
                  • cowboysdudeC Offline
                    cowboysdude Module Developer @carltonb
                    last edited by

                    @carltonb Well sometimes things get ‘lost’ or don’t install properly…so at times things can go wrong and cannot be fixed so that was the best answer. Glad you got it working!!

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      ryck Module Developer
                      last edited by

                      A quick way to fix this:

                      cd modules/MMM-Buttons
                      npm install electron-rebuild
                      ./node_modules/.bin/electron-rebuild
                      

                      It always worked for me…

                      H 1 Reply Last reply Reply Quote 1
                      • H Offline
                        hoddog @ryck
                        last edited by

                        @ryck said in Black screen after install update v2.2:

                        cd modules/MMM-Buttons
                        npm install electron-rebuild
                        ./node_modules/.bin/electron-rebuild

                        You are my hero… :)

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