Answers for "Error: EACCES: permission denied, mkdir '/npm' when installing angular"

2

npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/@angular/cli/bin/ng' -> '/usr/bin/ng'

sudo npm install -g @angular/cli
sudo chown -R $USER /usr/local/lib/node_modules
Posted by: Guest on August-13-2020
1

Error: EACCES: permission denied, mkdir

add sudo , example sudo npm i nodemon -g
Posted by: Guest on March-21-2021

Code answers related to "Error: EACCES: permission denied, mkdir '/npm' when installing angular"

Browse Popular Code Answers by Language