Read the statement by Michael Teeuw here.
MMM-PIR doesn´t turn off monitor since update MM 2.7
-
@thedoorsfanatic
Thanks for the information. I uninstall and install MMM-PIR, but it doesn´t work.Regards,
Sebastian
-
same problem with MMM-PIR-sensor and 2.7.1
i do that :
from the MMM-PIR-Sensor foldernpm install electron-rebuild
then run it to force the epoll rebuild
node_modules/.bin/electron-rebuild
-
@Fonfon
How do you force the epoll rebuild? -
@sdetweil said in MMM-PIR doesn´t turn off monitor since update MM 2.7:
./node_modules/.bin/electron-rebuild
./node_modules/.bin/electron-rebuild
@sdetweil give the solution -
@Fonfon did give the solution?
-
@sdetweil said in MMM-PIR doesn´t turn off monitor since update MM 2.7:
i believe that you will have to force recompile in the MMM-PIR folder… as the dependent epoll module doesn’t supply a version for this version of electron
from MMM-PIR folder do
npm install electron-rebuild
then
./node_modules/.bin/electron-rebuild
i do that but not in my MMM-PIR folder but in my MMM-PIR-Sensor folder
-
@Fonfon and all is good?
-
@sdetweil for me yes
-
@shgmongohh did you fix it ? TutuApp Adam4adam AppValley
-
I get a failure message and I don´t know, how to fix it.
npm audit fix
doesnt work.pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm install electron-rebuild + electron-rebuild@1.8.4 updated 1 package and audited 301 packages in 17.922s found 1 high severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details
pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $ npm audit === npm audit security report === Manual Review Some vulnerabilities require your attention to resolve Visit https://go.npm.me/audit-guide for additional guidance High Arbitrary File Overwrite Package tar Patched in >=4.4.2 Dependency of electron-rebuild [dev] Path electron-rebuild > node-gyp > tar More info https://nodesecurity.io/advisories/803 found 1 high severity vulnerability in 301 scanned packages 1 vulnerability requires manual review. See the full report for details.