/usr/local/bin/node: not found /usr/local/bin/node: not found unix unix

/usr/local/bin/node: not found


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.


you are trying to run node.js ?, in ubuntu 14.04 the node.js is installed at usr/bin/nodejs. So to run the programs you need use nodejs my_file.js instead of node node my_file.js like windows operation system.

you can confirm it using the command which as said above.