Remove "npm update check failed" error message on login
A few weeks ago, I made a few commands that caused each message to appear every time I accessed iTerm:
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) /folder/folder/.config
How do I delete this message? And is there anything else he could dump on my computer?
This is a persistent message upon login. Unfortunately, I don't know what commands caused this. And the file .bash_history
didn't help me find which command caused this.
+4
runningraptor
source
to share
3 answers
I had a similar problem. I solved it by running the following command in iterm2 app.
sudo chown -R $USER:$(id -gn $USER) /folder/folder/.config
and restarted the iterm2 app.
0
Akarsh SEGGEMU
source
to share
Run the command as superuser by running the command with "sudo"
If you like to update packages listed in your local package.json npm auto update .
-1
Rinold
source
to share
Try this: npm install asdf
-1
maxx
source
to share