visionmedia/express — Issue #868: *basic* express app broken in v0.5.10
Author: ry
Created: 2011-10-24 20:38:32+00:00
State: open

please fix

```
ryan@mac1234:/tmp% mkdir test
ryan@mac1234:/tmp% cd test
ryan@mac1234:/tmp/test% npm install express
express@1.0.7 ./node_modules/express
├── qs@0.3.1
└── connect@1.0.1
ryan@mac1234:/tmp/test% cat > x.js
var app = require('express').createServer();

app.get('/', function(req, res){
res.send('Hello World');
});

app.listen(3000);
ryan@mac1234:/tmp/test% vim x.js
ryan@mac1234:/tmp/test% node x.js

node.js:202
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'prototype' of undefined
at Object. (/private/tmp/test/node_modules/express/lib/express/server.js:87:44)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/private/tmp/test/node_modules/express/lib/express/index.js:28:31)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
```