What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-01 04:30:02
npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
It's not recommended to use sudo with npm install, follow the steps from npmjs official docs instead :) Make a directory for global installations: mkdir ~/.npm-global Configure npm to use the new directory path: npm config set prefix '~/.npm-global'... Add solution