I just updated Node.js and bunch of modules to the latest, then I got plenty of errors. I tried to figure out and it seems some of stuff are undefined. Could anyone know what are the equivalents to these stuff?
Node.js version 0.8.2
Express.js version 3.0.0beta6
Connect.js version 2.3.8
express = require 'express'
app = express.createServer()
console.log express.compiler # undefined
console.log app.error # undefined
console.log app.address # undefined
Express is now a handler that you pass to http.createServer.
express = require 'express'
http = require 'http'
app = express()
( http.createServer app ).listen 3000