The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Getting problem with build an Angular project
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