Running the examples with Node.js version 0.10.16 required some minor changes.
The version of Express in package.json needed to be:
The initial part of app.js needs to change to:
var app = require('express')(),
server = require('http').createServer(app),
twitter = require('ntwitter'),
io = require('socket.io').listen(server);
server.listen(3000);
With that, the examples run great. Thanks for putting this book out there!
Running the examples with Node.js version 0.10.16 required some minor changes.
The version of Express in package.json needed to be:
The initial part of app.js needs to change to:
With that, the examples run great. Thanks for putting this book out there!