Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created November 30, 2015 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pencilcheck/46363af4215b73afa2da to your computer and use it in GitHub Desktop.
Save pencilcheck/46363af4215b73afa2da to your computer and use it in GitHub Desktop.
backend_1 | /src/controllers/events.js:482
backend_1 | if (connections.length !== 0){
backend_1 | ^
backend_1 | TypeError: Cannot read property 'length' of undefined
backend_1 | at /src/controllers/events.js:482:22
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:479:9)
backend_1 | at /src/controllers/events.js:650:7
backend_1 | at /install/node_modules/async/lib/async.js:356:13
backend_1 | at async.forEachOf.async.eachOf (/install/node_modules/async/lib/async.js:233:13)
backend_1 | at _asyncMap (/install/node_modules/async/lib/async.js:355:9)
backend_1 | at Object.map (/install/node_modules/async/lib/async.js:337:20)
backend_1 | at /src/controllers/events.js:649:11
backend_1 | at /install/node_modules/async/lib/async.js:721:13
backend_1 | at /install/node_modules/async/lib/async.js:52:16
backend_1 | at done (/install/node_modules/async/lib/async.js:246:17)
backend_1 | at /install/node_modules/async/lib/async.js:44:16
backend_1 | at /install/node_modules/async/lib/async.js:718:17
backend_1 | at /install/node_modules/async/lib/async.js:167:37
backend_1 | at /src/controllers/events.js:643:9
backend_1 | at Query.<anonymous> (/install/node_modules/mongoose/lib/query.js:2119:28)
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:177:19
backend_1 | at /install/node_modules/mongoose/node_modules/kareem/index.js:109:16
backend_1 | at process._tickCallback (node.js:355:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment