i am very new to nodejs when i tried to run my first js file having following content
var http = require("http"); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hello World\n'); }).listen(8081); console.log('Server running at http://127.0.0.1:8081/'); with the command
$ node fullpath/filename.js
i am getting error thrown like below 
Can anyone tell what is wrong. I am using nodejs appliction window