I’m using npm version 6.10.1 (latest stable version), node version 10.16.0.
There is an open issue with installing global packages using sudo leaving behind files with the wrong ownership, which might be affecting you.
The short version is run this to fix the ownership, then try your install again:
sudo chown -R $(whoami) ~/.npm
Right, I saw this fix and then installed ‘next’ npm version and it went well.
Thanks for your help
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.