Im trying to run this simple code but I m getting error all the time...I really dont know what\'s the problem. It seems to me very Ok...? Thanks!
var htt
In your first line there are quotes missing around http:
var http = require('http');
In my case, I had
var http = require('http');
var path= require('path');
As soon as I deleted the the http line, it worked for me.So, i did leave only
var path= require('path');
I was working on express,mongodb,socket.io.