As I run this piece of code using node a.js
:
var sys = require(\'sys\');
sys.puts(\'Hello, World\');
I\'m getting the following as a
This problem is occur in ubuntu,so I resolved this problem by git. Clone this new source from github and do following actions:
Uninstall node
sudo apt-get remove --pure node
sudo apt-get clean
Make install node
git clone https://github.com/joyent/node.git
cd node
./configure
make
make install
Then this will be work well.