• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Blank screen after updating tonight...

Scheduled Pinned Locked Moved Unsolved Troubleshooting
17 Posts 5 Posters 7.4k Views 5 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 Offline
    sdetweil
    last edited by sdetweil Apr 2, 2019, 2:06 PM Apr 2, 2019, 2:04 PM

    use ctrl-shift-i to open the developers window and select the console tab, scroll around to see any errors, (red text)

    also, if you updated, u generally need to re-run npm install in every module that has a package,json file.
    The Hotword and Assistant will need electron-rebuild more than likely

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • I Offline
      ines
      last edited by Apr 2, 2019, 2:12 PM

      thank you , i make the npm install in every module with package.json but he doesn’t work

      S 1 Reply Last reply Apr 2, 2019, 2:19 PM Reply Quote 0
      • S Offline
        sdetweil @ines
        last edited by Apr 2, 2019, 2:19 PM

        @ines ok, we need to see the error… open the developers window

        how do you start MM, with PM2, or something else…

        the pm2.log might help too if used

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • I Offline
          ines
          last edited by Apr 2, 2019, 2:21 PM

          WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v3.0-linux-arm/snowboy.node’

          this the error that i ve faced after the new update

          S 1 Reply Last reply Apr 2, 2019, 2:24 PM Reply Quote 0
          • S Offline
            sdetweil @ines
            last edited by Apr 2, 2019, 2:24 PM

            @ines ok, you need to follow the instructions in hotword for the electron-rebuild

            But maybe in kiosk mode, you may meet some error like this;
            
            Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy/lib/node/binding/Release/electron-v2.0-linux-arm/snowboy.node'
            In that case, you need to rebuild some binaries to match with Electron version.
            
            cd ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
            npm install --save-dev electron-rebuild
            npm install nan
            ./node_modules/.bin/electron-rebuild   # It could takes dozens sec.
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Apr 2, 2019, 2:26 PM Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by sdetweil Apr 2, 2019, 2:27 PM Apr 2, 2019, 2:26 PM

              note that you will have the same problem in Assistant too

              see

              https://forum.magicmirror.builders/topic/10189/mmm-assistantmk2-breaks-with-mm-v2-7-0

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              T N 2 Replies Last reply Apr 2, 2019, 3:05 PM Reply Quote 0
              • I Offline
                ines
                last edited by Apr 2, 2019, 3:01 PM

                @sdetweil said in Blank screen after updating tonight...:

                ./node_modules/.bin/electron-rebuild

                thank you @sdetweil , the problem was solved you need to make the electron-rebuilt into mmm-assistantMk2 and mmm-hotword too

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thedoorsfanatic @sdetweil
                  last edited by Apr 2, 2019, 3:05 PM

                  @sdetweil

                  Sorry, I am a beginner from Germany. Maybe you can help.

                  It won’t let me update because of this message:
                  “Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden”
                  which translates to:
                  “Your local changes in the following files would be overwritten by the merge”
                  and then it lists like 5 or 6 package.json files. What can I do?

                  Danke/Thanks!

                  My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                  S 1 Reply Last reply Apr 2, 2019, 3:11 PM Reply Quote 0
                  • S Offline
                    sdetweil @thedoorsfanatic
                    last edited by Apr 2, 2019, 3:11 PM

                    @thedoorsfanatic you can pout those changes away temporarily with

                    git stash

                    after installing, if u want those back,

                    git stash pop

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    N T 2 Replies Last reply Apr 3, 2019, 5:26 AM Reply Quote 0
                    • U Offline
                      uatuba
                      last edited by Apr 2, 2019, 10:04 PM

                      I got it working by removing MMM-PIR-Sensor and reinstalling it. Simply updating it did not work.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/17
                        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