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.

    Magic Mirror won't load.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 2 Posters 5.8k 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.
    • A Offline
      aunrea @sdetweil
      last edited by

      @sdetweil I had done it before, I believed. I did it again and I still get the same error and the same message.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @aunrea
        last edited by

        @aunrea mmm-pir is missing completion

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          aunrea @sdetweil
          last edited by

          @sdetweil I uninstalled MMM-PIR and reinstall. I have updated npm. I still get that same error message when I have MMM-PIR in my config.js file.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @aunrea
            last edited by

            @aunrea when u do

            cd ~/MagicMirror/modules/MMM-PIR
            npm install
            

            What happens?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              aunrea @sdetweil
              last edited by

              @sdetweil I get the message:

              audited 6 packages in 1.756s
              found 0 vulnerabilities
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @aunrea
                last edited by sdetweil

                @aunrea I think u need to do an electron-rebuild in that folder.

                I am not near my machine, but electron-rebuild was installed as part of MagicMirror.

                See https://forum.magicmirror.builders/topic/10206/mmm-pir-sensor-not-working-with-latest-release-display-does-not-turn-off/7

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  aunrea @sdetweil
                  last edited by

                  @sdetweil I got the following error when I followed those instructions:

                  pi@raspberrypi:~/MagicMirror/modules/MMM-PIR $ npm install electron-rebuild
                  + electron-rebuild@1.8.6
                  updated 1 package and audited 245 packages in 20.05s
                  found 0 vulnerabilities
                  
                  
                  
                  pi@raspberrypi:~/MagicMirror/modules/MMM-PIR $ node_modules/.bin/electron-rebuild
                  ✖ Rebuild Failed
                  
                  An unhandled error occurred inside electron-rebuild
                  Could not locate node-gyp
                  
                  Error: Could not locate node-gyp
                      at Rebuilder.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR/node_modules/electron-rebuild/lib/src/rebuild.js:172:23)
                      at Generator.next (<anonymous>)
                      at fulfilled (/home/pi/MagicMirror/modules/MMM-PIR/node_modules/electron-rebuild/lib/src/rebuild.js:4:58)
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @aunrea
                    last edited by

                    @aunrea see the instructions w MMM-AssistantMk2.

                    Great step by step

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      aunrea @sdetweil
                      last edited by

                      @sdetweil Thank you for the help. I got it to work.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @aunrea
                        last edited by

                        @aunrea awesome!! thanks for the feedback… can u mark your issue resolved?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        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 / 1
                        • 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