-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
stale?Issue that may be closed soon due to the original author not responding any more.Issue that may be closed soon due to the original author not responding any more.type: bugAn issue or pull request relating to a bug in GatsbyAn issue or pull request relating to a bug in Gatsby
Description
Hey. I'm currently trying to setup a basic gatsby site with the contentful-source-plugin.
Last week everything went pretty great, until that moment I had to show off my results and - bam - the whole thing went down in 5 minutes. I had no success in recreating and debugging.
Specifically gatsby-source-contentful errors out with the following:
entryItemFields[foreignReference.name].push is not a function
Preconditions:
node -v: 8.9.1
gatsby-cli -v: 1.1.24
gatsby-cource-contentful version: tried everyone from 1.3.20
to 1.3.28
Steps to reproduce:
- npm i -g gatsby-cli
- gatsby new testdir && cd testdir
- yarn add gatsby-source-contentful -S
- Editing gatsby-config.js
plugins: [
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: `MY_CORRECT_SPACEID`,
accessToken: `MY_CORRECT_ACCESS_TOKEN`,
},
},
`gatsby-plugin-react-helmet`
],
- (optionally) Editing gatsby-node.js and inserting/editing code from example gatsby-contentful-site
Thanks for any help!
mrtannerjones, janosh, Dakuan, omonk and Avrmaster
Metadata
Metadata
Assignees
Labels
stale?Issue that may be closed soon due to the original author not responding any more.Issue that may be closed soon due to the original author not responding any more.type: bugAn issue or pull request relating to a bug in GatsbyAn issue or pull request relating to a bug in Gatsby