Node command doesnt work

user3526673

I am using ubuntu 14.04 and when i use node hello.js command on terminal nothing happens. I installed the packages using sudo apt-get command. I don't know what is wrong. No error message or anything. I searched for my problem but couldnt find anything.

mscdex

The problem has to do with package naming. The node package in Debian/Ubuntu is not node.js, it's amateur packet radio software.

My suggestion is that if you want node.js, remove the existing node program (sudo apt-get purge node for Debian/Ubuntu) and follow the instructions here for your particular distro/platform. That should get you the latest stable version, which you should be able to verify with node -v.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related