After installation (like in instructions). I have error with Intellisense. When I wrote simple Web Server
var http = require('http');
var server = http.Server();
server.listen(1337);
server.on('request', function (req, res) {
res.end(request.url);
});
console.log('Server starts');
and wrote 'req.' + Ctrl + Space - I don't seen methods of 'request'. :( Why is could happen?
P.S. Visual Studio 2013 Update 2 + Node.js Tools (latest) (downloaded yesterday).
Sorry for my English.
↧