Answers for "npm error eacces permission denied scandir '/root/.npm/_logs'"

5

npm EACCES: permission denied, access '/usr/local/lib'

sudo chown -R $(whoami) ~/.npm

mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile
Posted by: Guest on September-12-2020
0

Error: EACCES: permission denied, mkdir '/Users/f5238390/Sites/pyramid-ui/node_modules/node-sass/build

sudo chown -R root:YOUR_USERNAME /usr/local/lib/node_modules/

sudo chmod -R 775 /usr/local/lib/node_modules/
Posted by: Guest on September-04-2020

Code answers related to "npm error eacces permission denied scandir '/root/.npm/_logs'"

Browse Popular Code Answers by Language