Solved EXT-Pir doesn't work on 2.19
-
Exactly the same error.
-
I had planned to downgrade npm and node.js, but I’m not sure that will fix the problem.
@bugsounet , tell us if you want specific logs
-
downgrading node will not solve your problem
main problem is this:
Checking MagicMirror: pi/root
-
After doing npm run rebuild it’s still the same.
-
@bugsounet yes i think too, but i don’t know why I have it. Is it because a bad owner of a specific directory or a bad variable somewhere ? I’m sorry for my bad kwnoledge of linux world
-
try this:
sudo chgrp -R pi ~/MagicMirror/
and retry install
cd ~/MagicMirror/modules/EXT-Pir npm install
sample:
you have:bugsounet@debian:~/MagicMirror/modules$ cd EXT-Pir/ bugsounet@debian:~/MagicMirror/modules/EXT-Pir$ npm install > EXT-Pir@1.0.1 preinstall > installer/preinstall.sh Welcome to EXT-Pir v1.0.1 No root checking... Checking EXT-Pir: bugsounet/root npm ERR! code 255 npm ERR! path /home/bugsounet/MagicMirror/modules/EXT-Pir npm ERR! command failed npm ERR! command sh -c installer/preinstall.sh npm ERR! A complete log of this run can be found in: npm ERR! /home/bugsounet/.npm/_logs/2022-04-05T20_08_44_214Z-debug-0.log
solved with:
bugsounet@debian:~/MagicMirror/modules/EXT-Pir$ npm install > EXT-Pir@1.0.1 preinstall > installer/preinstall.sh Welcome to EXT-Pir v1.0.1 No root checking... Checking EXT-Pir: bugsounet/bugsounet Checking MagicMirror: bugsounet/bugsounet Checking OS... OS Detected: linux-gnu (debian 11 x86_64) Installing all npm libraries... > EXT-Pir@1.0.1 postinstall > installer/postinstall.sh Prepare PIR sensor using Done Rebuilding MagicMirror... ✔ MagicMirror Rebuild Complete Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-Pir is now installed ! up to date, audited 196 packages in 1s 22 packages are looking for funding run `npm fund` for details found 0 vulnerabilities bugsounet@debian:~/MagicMirror/modules/EXT-Pir$
Note in my desktop my account is
bugsounet
in your Raspberry your account ispi
so just changebugsounet
bypi
-
@bugsounet I will try it tommorow, thank you for your help I’ll keep you informed.
-
This post is deleted! -
This post is deleted! -
Hi,
All works great after the change of directory owner and reinstall both modules.Many thanks for your help !
Not really fan about the display of bar so i hide it, maybe a really thin white line will be more class, than big bar with color ? Just my personnal opinion.
Thank you for your work, have a nice day.
-
-
semi-circle design is better (for me)