error Cannot read property 'allContentfulExtendedGallery' of undefined
Closed this issue · 1 comments
jpvalery commented
error Cannot read property 'allContentfulExtendedGallery' of undefined
TypeError: Cannot read property 'allContentfulExtendedGallery' of undefined
- gatsby-node.js:43 graphql.then.result
/Users/jpvalery/repos/portfolio-matthiasnet/gatsby-node.js:43:19
- util.js:16 tryCatcher
[portfolio-matthiasnet]/[bluebird]/js/release/util.js:16:23
- promise.js:512 Promise._settlePromiseFromHandler
[portfolio-matthiasnet]/[bluebird]/js/release/promise.js:512:31
- promise.js:569 Promise._settlePromise
[portfolio-matthiasnet]/[bluebird]/js/release/promise.js:569:18
- promise.js:606 Promise._settlePromiseCtx
[portfolio-matthiasnet]/[bluebird]/js/release/promise.js:606:10
- async.js:142 _drainQueueStep
[portfolio-matthiasnet]/[bluebird]/js/release/async.js:142:12
- async.js:131 _drainQueue
[portfolio-matthiasnet]/[bluebird]/js/release/async.js:131:9
- async.js:147 Async._drainQueues
[portfolio-matthiasnet]/[bluebird]/js/release/async.js:147:5
- async.js:17 Immediate.Async.drainQueues [as _onImmediate]
[portfolio-matthiasnet]/[bluebird]/js/release/async.js:17:14
https://github.com/jpvalery/portfolio/blob/master/src/templates/gallery.js
jpvalery commented
so the fucking thing was that I need to have every content model with a piece of content, otherwise it fucks up.