1

Trouble with installing npm and supervisor package on Amazon Linux AMI

view story
linux-howto

http://serverfault.com – I'm running an Amazon Linux AMI and successfully installed node.js by wget'ing the source, untarring the file, and running ./configure and then sudo make install. When I installed npm: curl http://npmjs.org/install.sh | sudo sh It outputs: npm cannot be installed without nodejs. Install node first, and then try again. Maybe node is installed, but not in the PATH? Note that running as sudo can change envs. PATH=/sbin:/bin:/usr/sbin:/usr/bin But node is clearly installed (running node -v shows its version), so it must be that node is not in my path. I open ~/.bash_profile and add this l (HowTos)