DEV Community

Discussion on: how to resume multiple commands on one command

Collapse
 
mostafalaravel profile image
mostafalaravel

Thanks Mihail Malo

Collapse
 
mostafalaravel profile image
mostafalaravel

when I run npm update I got this error :


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

Enter fullscreen mode Exit fullscreen mode


`

Thread Thread
 
qm3ster profile image
Mihail Malo

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!