MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

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

    Troubleshooting
    4
    8
    341
    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
      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
        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
          gallert last edited by

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

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

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

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

              @MadScientist that’s the spirit

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

                Create a working config
                How to add modules

                G M 2 Replies Last reply Reply Quote 1
                • G
                  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
                    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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy