0

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.

Community
  • 1
  • 1
Sark
  • 4,458
  • 5
  • 26
  • 25
  • I'm going to go off a limb here and say the file "node" is literally not found in folder "/usr/sbin" – csiu Feb 27 '14 at 06:15
  • 1
    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 Feb 27 '14 at 06:20

1 Answers1

2

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
Sark
  • 4,458
  • 5
  • 26
  • 25