Skip to content

Cannot read property 'prototype' of undefined? #1

Open
cggaurav opened this Issue Nov 15, 2012 · 2 comments

2 participants

@cggaurav

Server.prototype.proto = connect.Server.prototype;
^
TypeError: Cannot read property 'prototype' of undefined
at Object. (/Users/cggaurav/Projects/fyp/express-node-chat/node_modules/express/lib/express/server.js:87:44)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/Users/cggaurav/Projects/fyp/express-node-chat/node_modules/express/lib/express/index.js:28:31)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)

@cggaurav

Guess we need an app.use() command

@ganesh7
ganesh7 commented Jul 11, 2013

How did you solve this again? Where do you put app.use()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.