Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm update check failed #66

Closed
thehauntedmattress opened this issue Mar 25, 2018 · 1 comment
Closed

npm update check failed #66

thehauntedmattress opened this issue Mar 25, 2018 · 1 comment

Comments

@thehauntedmattress
Copy link

thehauntedmattress commented Mar 25, 2018

I keep getting a message in the logs that is saying:

npm update check failed
Try running sudo or get access to the local update confnig store via
sudo chown -R $USER:$(id -gn $USER) /home/homebridge/.config

I had this working on a Raspberry Pi Zero W. Because of the whole homebridge-config-ui-x and homebridge-alexa conflict, l decided to buy a raspberry pi 3b+. The other reason I bought a new Pi was because of performance issues. When I take away the text below from my config file (thus disabling homebridge-config-ui-x), the issue is not present.

My config is here:

{
"platform": "config",
"name": "Config",
"restart": "sudo -n systemctl restart homebridge",
"port": 8080,
"sudo": true,
"temp": "/sys/class/thermal/thermal_zone0/temp",
"log": "systemd",
"theme": "indigo"
}

@oznu
Copy link
Member

oznu commented Mar 26, 2018

Hi @thehauntedmattress,

You can suppress these warning messages by adding this line to the bottom of your /etc/default/homebridge file:

NO_UPDATE_NOTIFIER=1

I'll push up a new version soon that will suppress these warnings by default.

@oznu oznu closed this as completed in 49c1921 Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants