Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
backend_1 | TypeError: undefined is not a function
backend_1 | at /src/controllers/events.js:857:271
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at next (/install/node_modules/express/lib/router/route.js:131:13)
backend_1 | at Route.dispatch (/install/node_modules/express/lib/router/route.js:112:3)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at /install/node_modules/express/lib/router/index.js:277:22
backend_1 | at param (/install/node_modules/express/lib/router/index.js:349:14)
backend_1 | at param (/install/node_modules/express/lib/router/index.js:365:14)
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:410:3)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express/lib/router/index.js:618:15
backend_1 | at next (/install/node_modules/express/lib/router/index.js:256:14)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at Function.handle (/install/node_modules/express/lib/router/index.js:176:3)
backend_1 | at router (/install/node_modules/express/lib/router/index.js:46:12)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/multer/index.js:218:19
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at SessionStrategy.strategy.pass (/install/node_modules/passport/lib/middleware/authenticate.js:318:9)
backend_1 | at SessionStrategy.authenticate (/install/node_modules/passport/lib/strategies/session.js:67:10)
backend_1 | at attempt (/install/node_modules/passport/lib/middleware/authenticate.js:341:16)
backend_1 | at authenticate (/install/node_modules/passport/lib/middleware/authenticate.js:342:7)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at initialize (/install/node_modules/passport/lib/middleware/initialize.js:62:5)
backend_1 | at Layer.handle [as handle_request] (/install/node_modules/express/lib/router/layer.js:95:5)
backend_1 | at trim_prefix (/install/node_modules/express/lib/router/index.js:312:13)
backend_1 | at /install/node_modules/express/lib/router/index.js:280:7
backend_1 | at Function.process_params (/install/node_modules/express/lib/router/index.js:330:12)
backend_1 | at next (/install/node_modules/express/lib/router/index.js:271:10)
backend_1 | at /install/node_modules/express-session/index.js:437:7
backend_1 | at /install/node_modules/connect-mongo/lib/connect-mongo.js:305:11
backend_1 | at handleCallback (/install/node_modules/mongoose/node_modules/mongodb/lib/utils.js:95:12)
backend_1 | at /install/node_modules/mongoose/node_modules/mongodb/lib/collection.js:1122:5
backend_1 | at handleCallback (/install/node_modules/mongoose/node_modules/mongodb/lib/utils.js:95:12)
backend_1 | at /install/node_modules/mongoose/node_modules/mongodb/lib/cursor.js:597:5
backend_1 | at handleCallback (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:244:5)
backend_1 | at nextFunction (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:739:5)
backend_1 | at /install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:664:7
backend_1 | at queryCallback (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:321:5)
backend_1 | at [object Object].Callbacks.emit (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
backend_1 | at [object Object].messageHandler (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
backend_1 | at Socket.<anonymous> (/install/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
backend_1 | at Socket.emit (events.js:107:17)
backend_1 | at readableAddChunk (_stream_readable.js:163:16)
backend_1 | at Socket.Readable.push (_stream_readable.js:126:10)
backend_1 | at TCP.onread (net.js:538:20)
backend_1 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.