Homebridge: npm update check failed

Created on 18 Oct 2017  ยท  6Comments  ยท  Source: homebridge/homebridge

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.

stale

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robertcedwards picture robertcedwards  ยท  6Comments

StefanMeGit picture StefanMeGit  ยท  4Comments

morilm picture morilm  ยท  6Comments

jeffl78 picture jeffl78  ยท  4Comments

d0n13 picture d0n13  ยท  5Comments