{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6433","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6433/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6433/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6433/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/6433","id":341054650,"node_id":"MDU6SXNzdWUzNDEwNTQ2NTA=","number":6433,"title":"Contentful source","user":{"login":"Amanej","id":10694878,"node_id":"MDQ6VXNlcjEwNjk0ODc4","avatar_url":"https://avatars3.githubusercontent.com/u/10694878?v=4","gravatar_id":"","url":"https://api.github.com/users/Amanej","html_url":"https://github.com/Amanej","followers_url":"https://api.github.com/users/Amanej/followers","following_url":"https://api.github.com/users/Amanej/following{/other_user}","gists_url":"https://api.github.com/users/Amanej/gists{/gist_id}","starred_url":"https://api.github.com/users/Amanej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amanej/subscriptions","organizations_url":"https://api.github.com/users/Amanej/orgs","repos_url":"https://api.github.com/users/Amanej/repos","events_url":"https://api.github.com/users/Amanej/events{/privacy}","received_events_url":"https://api.github.com/users/Amanej/received_events","type":"User","site_admin":false},"labels":[{"id":214544677,"node_id":"MDU6TGFiZWwyMTQ1NDQ2Nzc=","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/%F0%9F%8F%B7%20type:%20question%20or%20discussion","name":"🏷 type: question or discussion","color":"d4c5f9","default":false},{"id":708055337,"node_id":"MDU6TGFiZWw3MDgwNTUzMzc=","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/%F0%9F%93%8D%20status:%20needs%20more%20info","name":"📍 status: needs more info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-13T15:06:15Z","updated_at":"2018-08-15T21:10:15Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n  To make it easier for us to help you — please follow the suggested format below.\r\n\r\n  Useful Links:\r\n  - Documentation: https://www.gatsbyjs.org/docs/\r\n  - How to File an Issue: https://www.gatsbyjs.org/docs/how-to-file-an-issue/\r\n\r\n  Before opening a new issue, please search existing issues https://github.com/gatsbyjs/gatsby/issues\r\n-->\r\n\r\n## Description\r\n\r\nSo when I run the contentful starter, or even a clean gatsby site and add the gatsby-source contentful plugin it runs into an error.\r\n\r\n### Steps to reproduce\r\n\r\n1. gatsby new site\r\n2. npm install gatsby-source-contentful --save-dev\r\n3. gatsby develop\r\n\r\n### Expected result\r\n\r\nAccess contentful data in graphql interface.\r\n\r\n### Actual result\r\n\r\nThrows error at build time.\r\n\r\n´  TypeError: entryItemFields[foreignReference.name].push is not a function´\r\n\r\n![image](https://user-images.githubusercontent.com/10694878/42698722-0664798c-86bf-11e8-9cd0-577c99caea16.png)\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/413338083","html_url":"https://github.com/gatsbyjs/gatsby/issues/6433#issuecomment-413338083","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6433","id":413338083,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzMzODA4Mw==","user":{"login":"chrisheninger","id":5051745,"node_id":"MDQ6VXNlcjUwNTE3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5051745?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisheninger","html_url":"https://github.com/chrisheninger","followers_url":"https://api.github.com/users/chrisheninger/followers","following_url":"https://api.github.com/users/chrisheninger/following{/other_user}","gists_url":"https://api.github.com/users/chrisheninger/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisheninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisheninger/subscriptions","organizations_url":"https://api.github.com/users/chrisheninger/orgs","repos_url":"https://api.github.com/users/chrisheninger/repos","events_url":"https://api.github.com/users/chrisheninger/events{/privacy}","received_events_url":"https://api.github.com/users/chrisheninger/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T21:10:15Z","updated_at":"2018-08-15T21:10:15Z","author_association":"NONE","body":"I just ran into this same thing after adding a new content type... I've been digging around trying to figure out what/why it's happening but haven't had any luck.\r\n\r\nI've found that by removing my `.cache` directory and restarting gatsby– it works just fine. But after stopping and restarting, it will always throw the following error and I have to `rm -rf .cache` before running gatsby again.\r\n\r\n<img width=\"571\" alt=\"screen shot 2018-08-15 at 2 03 55 pm\" src=\"https://user-images.githubusercontent.com/5051745/44173301-6121a900-a094-11e8-9326-ed4903633b1e.png\">\r\n\r\nThe file it's referring to is https://github.com/elm-street-technology/elevate-marketing-site/blob/master/gatsby-node.js – I didn't start seeing the error until I most recently added Testimonial into the mix– but I can't figure out why that would affect it because it's doing the same exact thing as the others."}}
{"actor":{"display_login":"chrisheninger"}}