Invariant Violation: Encountered an error trying to infer a GraphQL type for: tags___NODE
#38682
Unanswered
Krishna-D-K
asked this question in
Help
Replies: 0 comments
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.
-
I am new to Gatsby. I'm creating a blog site using Gatsby and Contentful as CMS. On creating a field 'timeToRead' I'm getting an error as
ERROR #11321 API.NODE.EXECUTION
"gatsby-source-contentful" threw an error while running the sourceNodes lifecycle:
_node$fields.includes is not a function
However whenever I clear cache and rebuild the appliction it works fine. But without that I always encounter this error.
My gatsby-node.js file :
I'm using the following libraries as listed in package.json
Beta Was this translation helpful? Give feedback.
All reactions