Read the statement by Michael Teeuw here.
after MM-Update to 2.14.0 the MMM-PIR-Sensor module not working...
-
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?
-
@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
? -
That is the solution. how embarrassing… Sorry!!!
-
Don’t be embarrassed. Someone else will have the same issue and will now find the solution here .
-
@MadScientist that’s the spirit
-
@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 -
@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_scriptsThanks… for the next update
-
@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!