Closed mpaccione closed 4 years ago
This issue turned out to be with the Wordpress database content.
All the posts were their own custom post type and it seems the default configuration does not pull those. Creating a new test post ensured this worked.
Hopefully this is helpful to anyone else in the future who encounters this issue.
PS. Be sure you install gatsby-core-utils
... that was the initial issue. Then the above subsequently. Good luck, cheers!
I have copied over the example code from the example repo and receive this error: Cannot query field "wordpressPage" on type "Query". Cannot query field "wordpressPost" on type "Query".
This is quite a blocker for me. I don't have experience using Gatsby or Graphql... first time for both ... looking to get this thing moving.
gatsby-node.js
gatsby-config.js
page.js
post.js