visionmedia/express — Issue #888: TypeError: Object function createApplication() has no method 'createServer'
Author: masterkain
Created: 2011-11-11 00:50:29+00:00
State: open

Stack trace:

01:45:50 web.1 | TypeError: Object function createApplication() {
01:45:50 web.1 | var app = connect();
01:45:50 web.1 | utils.merge(app, proto);
01:45:50 web.1 | app.request = { __proto__: req };
01:45:50 web.1 | app.response = { __proto__: res };
01:45:50 web.1 | app.init();
01:45:50 web.1 | return app;
01:45:50 web.1 | } has no method 'createServer'

Using Node.js 0.6.0, npm from git, express from git.

Happens on:

Express = require "express"
Express.createServer()