Sark
Sark

Reputation: 4546

Node.js not found

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.

Upvotes: 0

Views: 3923

Answers (1)

Sark
Sark

Reputation: 4546

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

Upvotes: 2

Related Questions