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

Magic Mirror won't load.

Scheduled Pinned Locked Moved Solved Troubleshooting
12 Posts 2 Posters 4.2k 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.
  • S Away
    sdetweil @aunrea
    last edited by Sep 4, 2019, 7:35 PM

    @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 Sep 4, 2019, 9:43 PM Reply Quote 0
    • A Offline
      aunrea @sdetweil
      last edited by Sep 4, 2019, 9:43 PM

      @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 Sep 4, 2019, 9:46 PM Reply Quote 0
      • S Away
        sdetweil @aunrea
        last edited by Sep 4, 2019, 9:46 PM

        @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 Sep 4, 2019, 9:58 PM Reply Quote 0
        • A Offline
          aunrea @sdetweil
          last edited by Sep 4, 2019, 9:58 PM

          @sdetweil I get the message:

          audited 6 packages in 1.756s
          found 0 vulnerabilities
          
          S 1 Reply Last reply Sep 4, 2019, 10:34 PM Reply Quote 0
          • S Away
            sdetweil @aunrea
            last edited by sdetweil Sep 4, 2019, 10:37 PM Sep 4, 2019, 10:34 PM

            @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 Sep 4, 2019, 11:03 PM Reply Quote 0
            • A Offline
              aunrea @sdetweil
              last edited by Sep 4, 2019, 11:03 PM

              @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 Sep 5, 2019, 1:19 AM Reply Quote 0
              • S Away
                sdetweil @aunrea
                last edited by Sep 5, 2019, 1:19 AM

                @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 Sep 6, 2019, 1:58 PM Reply Quote 0
                • A Offline
                  aunrea @sdetweil
                  last edited by Sep 6, 2019, 1:58 PM

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

                  S 1 Reply Last reply Sep 6, 2019, 1:59 PM Reply Quote 0
                  • S Away
                    sdetweil @aunrea
                    last edited by Sep 6, 2019, 1:59 PM

                    @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
                    • 1 / 2
                    1 / 2
                    • First post
                      8/12
                      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