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.

    after MM-Update to 2.14.0 the MMM-PIR-Sensor module not working...

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 4 Posters 852 Views 4 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.
    • G Offline
      gallert
      last edited by

      here is the log…

      [06.01.2021 13:13.22.135] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘onoff’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js
      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

      can somebody help?

      1 Reply Last reply Reply Quote 0
      • M Offline
        MadScientist
        last edited by

        @gallert said in after MM-Update to 2.14.0 the MMM-PIR-Sensor module not working...:

        MMM-PIR-Sensor

        Did you enter the directory of that module and run the command npm install?

        S 1 Reply Last reply Reply Quote 0
        • G Offline
          gallert
          last edited by

          That is the solution. how embarrassing… Sorry!!!

          1 Reply Last reply Reply Quote 0
          • M Offline
            MadScientist
            last edited by

            Don’t be embarrassed. Someone else will have the same issue and will now find the solution here .

            JerryPJ 1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP @MadScientist
              last edited by

              @MadScientist that’s the spirit

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

                @MadScientist and if you had run the upgrade script, it would have done the npm install in the appropriate module folders
                see
                https://github.com/sdetweil/MagicMirror_scripts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                G M 2 Replies Last reply Reply Quote 1
                • G Offline
                  gallert @sdetweil
                  last edited by

                  @sdetweil said in after MM-Update to 2.14.0 the MMM-PIR-Sensor module not working...:

                  @MadScientist and if you had run the upgrade script, it would have done the npm install in the appropriate module folders
                  see
                  https://github.com/sdetweil/MagicMirror_scripts

                  Thanks… for the next update

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MadScientist @sdetweil
                    last edited by

                    @sdetweil Hehe, I only remembered to mention the script after I already replied.
                    Let me take this opportunity to thank you for what you do or this community!

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