0
votes

I am using ubuntu 10.10, I installed nodejs from source ( ./configure && make && sudo make install ) and all done successfully. I tried to start nodejs CLI using

node

it says

bash: /usr/sbin/node: No such file or directory

note : i also referred these following questions

Express.js: No Such file or directory, nodejs vs node on ubuntu 12.04

but still not able to rectify.

1
I'm going to go off a limb here and say the file "node" is literally not found in folder "/usr/sbin" - csiu
The solution suggested from the two links is to create a symbolic link from where it is found to where bash is looking (in your case, to "/usr/sbin/node") - csiu

1 Answers

2
votes

never mind, i found node in /usr/local/bin/node.

so the following command made it work.

sudo ln -s /usr/sbin/node /usr/local/bin/node