This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | message: 'Event validation failed', | |
backend_1 | name: 'ValidationError', | |
backend_1 | errors: | |
backend_1 | { nonmemberprice: | |
backend_1 | { [CastError: Cast to Number failed for value "NaN" at path "nonmemberprice"] | |
backend_1 | stack: 'Error\n at MongooseError.CastError (/install/node_modules/mongoose/lib/error/cast.js:18:16)\n at model.Document.set (/install/node_modules/mongoose/lib/document.js:622:7)\n at model.Document.set (/install/node_modules/mongoose/lib/document.js:502:18)\n at model.Document (/install/node_modules/mongoose/lib/document.js:62:10)\n at model.Model (/install/node_modules/mongoose/lib/model.js:43:12)\n at new model (/install/node_modules/mongoose/lib/model.js:2808:11)\n at /install/node_modules/mongoose/lib/model.js:1622:10\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:570:21\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:249:17\n at /install/node_modules/mongoose/node_modules/async/lib/async.js:125:13\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | at Async._drainQueue (/install/node_modules/bluebird/js/release/async.js:129:16) | |
backend_1 | at Async._drainQueues (/install/node_modules/bluebird/js/release/async.js:139:10) | |
backend_1 | at Immediate.Async.drainQueues [as _onImmediate] (/install/node_modules/bluebird/js/release/async.js:16:14) | |
backend_1 | at processImmediate [as _immediateCallback] (timers.js:367:17) | |
backend_1 | | |
backend_1 | Unhandled rejection ReferenceError: moment is not defined | |
backend_1 | at /src/controllers/events.js:975:28 | |
backend_1 | at tryCatcher (/install/node_modules/bluebird/js/release/util.js:11:23) | |
backend_1 | at Promise._settlePromiseFromHandler (/install/node_modules/bluebird/js/release/promise.js:489:31) | |
backend_1 | at Promise._settlePromise (/install/node_modules/bluebird/js/release/promise.js:546:18) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | Unhandled rejection TypeError: Cannot read property 'toLowerCase' of undefined | |
backend_1 | at lookup (/src/controllers/events.js:28:22) | |
backend_1 | at findSkills (/src/controllers/events.js:36:7) | |
backend_1 | at async.parallel.count (/src/controllers/events.js:663:13) | |
backend_1 | at /install/node_modules/async/lib/async.js:713:13 | |
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13) | |
backend_1 | at _parallel (/install/node_modules/async/lib/async.js:712:9) | |
backend_1 | at Object.async.parallel (/install/node_modules/async/lib/async.js:726:9) | |
backend_1 | at eventMatch (/src/controllers/events.js:611:9) | |
backend_1 | at /src/controllers/events.js:789:7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend_1 | Unhandled rejection TypeError: Cannot read property 'toLowerCase' of undefined | |
backend_1 | at lookup (/src/controllers/events.js:28:22) | |
backend_1 | at findSkills (/src/controllers/events.js:36:7) | |
backend_1 | at async.parallel.count (/src/controllers/events.js:663:13) | |
backend_1 | at /install/node_modules/async/lib/async.js:713:13 | |
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13) | |
backend_1 | at _parallel (/install/node_modules/async/lib/async.js:712:9) | |
backend_1 | at Object.async.parallel (/install/node_modules/async/lib/async.js:726:9) | |
backend_1 | at eventMatch (/src/controllers/events.js:611:9) | |
backend_1 | at /src/controllers/events.js:789:7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
userSchema = new Schema( | |
key: String | |
preferred_email: String | |
email: String | |
access_code: String | |
local: | |
email: String | |
password: String | |
name: String | |
seeker_profile_filled_at: Date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eventSchema = new Schema( | |
key: String | |
title: String | |
url: String | |
category: String | |
calcpa_id: String | |
organization: String | |
description: String | |
location: | |
name: String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AttendeeSchema = new Schema( | |
user_id: | |
type: Schema.Types.ObjectId | |
ref: 'User' | |
event_id: | |
type: Schema.Types.ObjectId | |
ref: 'Event' | |
like: | |
type: Boolean | |
default: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
webpack: (config) => { | |
config.module.rules.push( | |
// yaml | |
{ | |
test: /\.yaml$/, | |
use: [ | |
{ | |
loader: 'emit-file-loader', | |
options: { |