property 'prototype' of undefined #18

Closed
ghost opened this Issue May 9, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented May 9, 2012

Cannot read property 'prototype' of undefined
at Object. (/**********/node_modules/express-expose/lib/express-expose.js:51:11)

var secure_keys, 
    express = require("express"),
expose = require("express-expose"), // When I remove this line my app can start:
app = express.createServer(secure_keys); 

node -v:
6.0.13

and npm:

├── colors@0.6.0-1
├─┬ express@3.0.0alpha3
│ ├── commander@0.5.2
│ ├─┬ connect@2.2.2
│ │ ├── crc@0.1.0
│ │ ├── formidable@1.0.9
│ │ ├── mime@1.2.4
│ │ └── qs@0.4.2
│ ├── crc@0.2.0
│ ├── debug@0.7.0
│ ├── mime@1.2.5
│ └── mkdirp@0.3.1
├── express-expose@0.2.2
├─┬ optimist@0.2.8
│ └── wordwrap@0.0.2
└─┬ vows@0.5.13
└── eyes@0.1.7

Contributor

isstaif commented May 30, 2012

The same problem for me....

Contributor

isstaif commented May 30, 2012

I think it needs to be compatible with the new Express 3.0

Contributor

isstaif commented May 30, 2012

I'm forking the project and it is almost fixed...
isstaif/express-expose@17ff66a

@tj tj closed this Aug 14, 2012

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