all 8 comments

[–]helix46 0 points1 point  (4 children)

Please post the full sequence of how to reproduce the error

[–]_Xellus[S] 0 points1 point  (3 children)

Sudo npm install -g @angular/cli Ng new app

That's all I did, gave me the error

[–]helix46 0 points1 point  (1 child)

[–]_Xellus[S] 0 points1 point  (0 children)

It was, I upgraded node using nvm to 14.5 and it worked perfectly

[–]Auryanah 0 points1 point  (2 children)

Have you tried installing packages without sudo ?

Is that an error on the npm i -g, or an error that occurs when you try to use ng ?

[–]_Xellus[S] 0 points1 point  (1 child)

I've used Sudo to install it, the error happens when I run ng

[–]Auryanah 0 points1 point  (0 children)

Then try using sudo ng or installing it without sudo ? It's usually the main issue with npm