-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Description
Description
Updating to 1.7.27 and above breaks my Gatsby build using gatsby-source-contentful
Note: I have not tried this with any other source.
Environment
Gatsby version: 1.9.153
Node.js version: 8.9.1
Operating System: MacOS High Sierra
Actual result
Build failed with follow error:
TypeError: Cannot read property 'parent' of null
- parse.js:69 Function.exports.update
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/[cheerio]/lib/parse.js:69:26
- parse.js:19 module.exports
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/[cheerio]/lib/parse.js:19:11
- static.js:27 Function.exports.load
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/[cheerio]/lib/static.js:27:14
- index.js:37
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/index.js:37:23
- index.js:31 one
[guru-blog-contentful]/[unist-util-visit]/index.js:31:16
- index.js:54 all
[guru-blog-contentful]/[unist-util-visit]/index.js:54:25
- index.js:39 one
[guru-blog-contentful]/[unist-util-visit]/index.js:39:14
- index.js:54 all
[guru-blog-contentful]/[unist-util-visit]/index.js:54:25
- index.js:39 one
[guru-blog-contentful]/[unist-util-visit]/index.js:39:14
- index.js:22 visit
[guru-blog-contentful]/[unist-util-visit]/index.js:22:3
- index.js:36
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/index.js:36:5
- debuggability.js:303 Promise._execute
[guru-blog-contentful]/[bluebird]/js/release/debuggability.js:303:9
- promise.js:483 Promise._resolveFromExecutor
[guru-blog-contentful]/[bluebird]/js/release/promise.js:483:18
- promise.js:79 new Promise
[guru-blog-contentful]/[bluebird]/js/release/promise.js:79:10
- index.js:31 module.exports
[guru-blog-contentful]/[gatsby-remark-responsive-iframe]/index.js:31:10
- extend-node-type.js:144
[guru-blog-contentful]/[gatsby-transformer-remark]/extend-node-type.js:144:32
- util.js:16 tryCatcher
[guru-blog-contentful]/[bluebird]/js/release/util.js:16:23
- reduce.js:155 Object.gotValue
[guru-blog-contentful]/[bluebird]/js/release/reduce.js:155:18
- reduce.js:144 Object.gotAccum
[guru-blog-contentful]/[bluebird]/js/release/reduce.js:144:25
- util.js:16 Object.tryCatcher
[guru-blog-contentful]/[bluebird]/js/release/util.js:16:23
- promise.js:512 Promise._settlePromiseFromHandler
[guru-blog-contentful]/[bluebird]/js/release/promise.js:512:31
- promise.js:569 Promise._settlePromise
[guru-blog-contentful]/[bluebird]/js/release/promise.js:569:18
Expected behavior
Successful build
Steps to reproduce
1. Update from 1.7.26 to 1.7.27
2. Use gatsby-source-contentful
3. gatsby develop or gatsby build
...
janosh
Metadata
Metadata
Assignees
Labels
No labels