when I run npm update I got this error :
npm update
npm ERR! code EACCES npm ERR! syscall unlink npm ERR! path /home/helloworld/.npm/_logs/2020-11-25T10_30_33_060Z-debug.log npm ERR! errno -13 npm ERR! npm ERR! Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which has since been addressed. npm ERR! npm ERR! To permanently fix this problem, please run: npm ERR! sudo chown -R 1001:1001 "/home/mabdellaoui/.npm" npm ERR! code EACCES npm ERR! syscall open npm ERR! path /home/mabdellaoui/.npm/_cacache/tmp/7beab320 npm ERR! errno -13
`
Wow, what an amazing error! Good job, npm developers! It tells you WHY this happened, and also tells you the correct way to fix it!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
when I run
npm update
I got this error :`
Wow, what an amazing error!
Good job, npm developers!
It tells you WHY this happened, and also tells you the correct way to fix it!