Written on 2020-11-02 05:29:00

Last updated 2020-11-02 05:29:00

How to resolve npm permission issue?


This is general solutions for all kind of npm permission issue.

sudo chown -R $USER ~/.npm
sudo chown -R  $USER /usr/bin/npm
sudo chown -R  $USER /usr/lib/node_modules/
chmod -R a+x node_modules
blog comments powered by Disqus