Node and npm are both installed and up to date but keep getting this error when trying to install coffeescript. I am still new to programming so any advice would be greatly
Following the advice of nmp author Isaac Z. Schlueter:
I strongly encourage you not to do package management with sudo!
Instead of sudo npm install ...
you could instead change permissions on your /usr/local
directory:
sudo chown -R $USER /usr/local
After doing this once, you should be able to npm install ...
(without sudo).