Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm ERR! code EACCES

sudo chown -R $USER ~/.npm
sudo chown -R $USER /usr/local/lib/node_modules
npm config set unsafe-perm=true

// or read this article if this not work 

https://docs.forestadmin.com/documentation/how-tos/setup/prevent-permission-errors-at-installation
 
PREVIOUS NEXT
Tagged: #npm #code #EACCES
ADD COMMENT
Topic
Name
4+7 =