I have the following code in a file called server.js.
var http = require(\'http\'); http.createServer(function (request, response) { response.writeHead(200,
Don't break your Harvest SCM by removing it from path. Try this one, open your windows command line (cmd) and then pass the following nodejs batch file so that it will set your command line to nodejs environment. Enjoy the node commands there.
C:> "C:\Program Files\nodejs\nodevars.bat"