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 4.9k 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
                        • 1
                        • 2
                        • 2 / 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