I have just installed node.js on my ubuntu laptop.
I followed the instructions found here: http://davidtsadler.com/archives/2012/05/06/installing-node-js-on-ubuntu/#application and installed from the git repository
Installed with no errors, but when I ran the server.js sample application program nothing happened.
Worse still, I tried to run a ver basic hello world script called hello.js
console.log("hello world");
When I type : node hello.js
nothing happens, there is no error message, nothing is written to the console window.
IS there any known issues with node on ubuntu?
thanks
EDIT
just noticed in terminal if I type:
node console.log("hello world");
I get
$ node console.log("hi");
bash: syntax error near unexpected token `('
which -a node? You might have anothernodeexecutable already inPATHand are running that instead of Node.js.nodejs yourscript.jsthere is a filename change andnodeitself may refer to something else