Replies: 1 comment
-
You've also updated the contentful source plugin by a couple of major versions so you'll also need to account for any breaking changes there. This is most likely your problem. For example here's a thread of people talking about the Rich Text changes: #28098 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Gatsby is failing to compile a project with both
npm run develop
andnpm run build
after migrating from V2 to V3.Here is the structure of the graphql query in
gatsby-node.js
that is used to fetch initial page data:This work without issue on v2, but after upgrading to v3 and settling all dependencies any build attempt throws this error:
Steps to reproduce
whatsnew
.Expected result
The site should build normally.
Actual result
Type inference doesn't work for all page queries after migrating to GatsbyV3.
Environment
If it helps, here is the Gatsby v2 environment the site builds correctly under:
Beta Was this translation helpful? Give feedback.
All reactions