Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
backend_1 | Unhandled rejection Error
backend_1 | at MongooseError.ValidationError (/install/node_modules/mongoose/lib/error/validation.js:22:16)
backend_1 | at model.Document.invalidate (/install/node_modules/mongoose/lib/document.js:1256:32)
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:621:10)
backend_1 | at model.Document.set (/install/node_modules/mongoose/lib/document.js:502:18)
backend_1 | at model.Document (/install/node_modules/mongoose/lib/document.js:62:10)
backend_1 | at model.Model (/install/node_modules/mongoose/lib/model.js:43:12)
backend_1 | at new model (/install/node_modules/mongoose/lib/model.js:2808:11)
backend_1 | at /install/node_modules/mongoose/lib/model.js:1622:10
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:570:21
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:249:17
backend_1 | at /install/node_modules/mongoose/node_modules/async/lib/async.js:125:13
backend_1 | at Array.forEach (native)
backend_1 | at _each (/install/node_modules/mongoose/node_modules/async/lib/async.js:46:24)
backend_1 | at async.each (/install/node_modules/mongoose/node_modules/async/lib/async.js:124:9)
backend_1 | at _asyncMap (/install/node_modules/mongoose/node_modules/async/lib/async.js:248:13)
backend_1 | at Object.map (/install/node_modules/mongoose/node_modules/async/lib/async.js:219:23)
backend_1 | at _parallel (/install/node_modules/mongoose/node_modules/async/lib/async.js:568:20)
backend_1 | at Object.async.parallel (/install/node_modules/mongoose/node_modules/async/lib/async.js:598:9)
backend_1 | at /install/node_modules/mongoose/lib/model.js:1630:11
backend_1 | at Promise._execute (/install/node_modules/bluebird/js/release/debuggability.js:159:9)
backend_1 | at Promise._resolveFromExecutor (/install/node_modules/bluebird/js/release/promise.js:460:18)
backend_1 | at new Promise (/install/node_modules/bluebird/js/release/promise.js:76:14)
backend_1 | at Function.create (/install/node_modules/mongoose/lib/model.js:1610:17)
backend_1 | at /src/controllers/events.js:857:17
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)
b
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.