Here, some help with “how-to-npm” . I totally understand these struggles and i have been there before. Have a great day mates.
2 Likes
if npm install npm -g gives an error, make it sudo npm install npm -g
and try again
If you need sudo with npm, it’s because you have the permissions set wrong: https://docs.npmjs.com/getting-started/fixing-npm-permissions
1 Like
Urgh…I’ve been meaning to fix that for ages