If you are using an older version of npm, this has hopefully been fixed in 6.10.2 and above.
If you use sudo for global installs, these two commands will update npm, then fix ownership problems left behind by the old versions:
sudo npm install -g npm sudo chown -R $USER ~/.npm
Then try your install again.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.