How to fix this message on every Homebridge start?
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ npm update check failed โ
โ Try running with sudo or get access โ
โ to the local update config store via โ
โ sudo chown -R $USER:$(id -gn $USER) /home/homebridge/.config โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
if I run this command on Pi I have this chown: cannot access '/home/homebridge/.config': No such file or directory
Homebridge works as a service on my setup.
Same issue
npm version is - 5.0.3 I've also same problem when I use any npm command. npm command is working fine but why this code is showing, I don't know....
I think it was in npm version 5.0.x issue. I updated 5.0.3 to 5.2.0 with this command
sudo chown -R $USER:$(id -gn $USER) /home/prashanth/.config
npm install -g npm
now npm is working fine.
This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.
Having the same problem
Also getting this issue. Any suggestions?
Running on a Pi and using systemd to start.
Also seeing this on a pi using systemd.
Most helpful comment
npm version is - 5.0.3 I've also same problem when I use any npm command. npm command is working fine but why this code is showing, I don't know....
I think it was in npm version 5.0.x issue. I updated 5.0.3 to 5.2.0 with this command
sudo chown -R $USER:$(id -gn $USER) /home/prashanth/.config
npm install -g npm
now npm is working fine.