Skip to content

Instantly share code, notes, and snippets.

@piontekle
Created March 27, 2019 20:21
Show Gist options
  • Save piontekle/b11df11f4e3f306d91f20c9c629fd610 to your computer and use it in GitHub Desktop.
Save piontekle/b11df11f4e3f306d91f20c9c629fd610 to your computer and use it in GitHub Desktop.
Unhandled rejection TypeError: Cannot read property 'wiki' of undefined
at wikiQueries.getWiki (/Users/piontekle/bloc/bloccipedia/src/controllers/wikiController.js:82:24)
at Collaborator.scope.findAll.then.catch (/Users/piontekle/bloc/bloccipedia/src/db/queries.wikis.js:31:11)
at tryCatcher (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/promise.js:690:18)
at _drainQueueStep (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/piontekle/bloc/bloccipedia/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment