As I run this piece of code using node a.js:
node a.js
var sys = require(\'sys\'); sys.puts(\'Hello, World\');
I\'m getting the following as a
If you are on ubuntu, follow:
sudo apt-get update sudo apt-get install python-software-properties sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs
You need to install nodejs and not node!