/usr/local/bin/node: not found

Tag: unix , npm Author: shss888888 Date: 2013-03-27

I kept getting the error above, when I do which node I got the following error:

/usr/bin/node

so in my .bash_profile, I've put in:

export PATH=/usr/bin:$PATH

but still the error doesn't go away

Try the following things: file /usr/bin/node; file /usr/local/bin/node and add the output to your question.
What do you get if you echo $PATH?
Are you saying that which node gave you the error /usr/bin/node?
You'll also need to ensure that /usr/local/bin is in the PATH.