I have the following code in a file called server.js.
var http = require(\'http\');
http.createServer(function (request, response) {
response.writeHead(200,
Was getting this when I was trying to run cordova commands. Steps to resolve:
Windows