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
If you can not or do not want to change the program you are running. (you could just change the /usr/local/bin/node to /usr/bin/node in that program), an alternative solution is to create a link from your node installation to the path it is trying to load it from.
Run this as root:
ln -s /usr/bin/node /usr/local/bin/node
Where the first path parameter is the source, and second path parameter as destination
It is perfectly normal and it is not an error. When you run which
, the result will be the location of the program if it is successfully installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With