Reputation: 23
Following is the error message I get after installing npm packages
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/ubuntu/.config
Upvotes: 0
Views: 7060
Reputation: 2867
Answer from GitHub:
Fix for windows, I got this message :
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) C:\Users.config
so I went on to C:\Users.config and deleted the "configstore" folder. once I done this, next time a ran npm start, the folder was re-generated, and error stopped
If you are on a Mac, this might help
sudo npm i -g npm
Upvotes: 1