The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Npm error. First time installing
I am new to this whole thing, and I recently tried downloading nodejs through the terminal. (I have a Macbook Air). I am completely new to all this please help. I have attached a screenshot to show the problem.
(please let me know if you can’t see the attachment)
Thank you all in advance!
The short version is try quick fix:
sudo chown -R $(whoami) ~/.npm
The long version and canonical bug is: Global installs (sudo npm i -g) fail on Mac after 6.5 upgrade. Works fine after 6.4.1 downgrade.
Thank you! The shortcut worked perfectly!