Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cannot read property 'prototype' of undefined? #1

Open
cggaurav opened this Issue · 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

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.