Skip to content

Hour14, Example 3-6 #6

Description

@testflyjets

Running the examples with Node.js version 0.10.16 required some minor changes.

The version of Express in package.json needed to be:

"express":"3.1.0"

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions