-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gatsby-source-contentful not working #1588
Comments
Could you try the contentful example site? https://github.com/gatsbyjs/gatsby/tree/master/examples/using-contentful |
I got a similar error tonight. Went ahead and pulled down the example site.
And received this error.
|
I'm also experiencing the same issue just adding the plugin for contentful as @YuyingWu. Really would like to get this data layer working.
|
Try using Yarn. npm install -g yarn@latest
rm -r node_modules
yarn
gatsby develop I just reinstalled the contentful example site and it worked as expected. |
success delete html files from previous builds — 0.018 s problem occur while createPages. It doesn't give any type of error. but still stay on there. . .. Any idea? Please suggest |
The error is in your code. Add some console.log in your gatsby-node's createPages function |
node: v6.10.2
npm: 3.10.10
gatsby: ^1.1.0
gatsby-source-contentful: 1.3.0
When I add
gatsby-source-contentful
togatsby-config.js
and I rungatsby develop
, an error is thrown. Then I deletegatsby-source-contentful
fromgatsby-config.js
, everything is all good again.Please help me find out what's going on, thanks.
The text was updated successfully, but these errors were encountered: