Closed PaulieScanlon closed 3 years ago
For anyone else running into weird errors. In my case it was caused by CoBlocks I deactivated this plugin and everything sprung back to life. Feel free to close this issue.
Interesting :thinking: if you don't mind I'm going to keep it open so I remember to investigate this. Other people have been running into this problem and the error here is very bad. I think the error comes from Gatsby core but it's expecting the WP plugin to provide an error somewhere. So we definitely need to improve this.
Hey @TylerBarnes TY for the response. Yeah it was a weird one this. I suppose such is the way with emerging tech. It's great though and really nice job!
If there is an opportunity to surface the actual error that would be helpful as debugging this was a case of trial and error and i imagine in an existing WP project it might not be feasible to disable plugins to find the root cause.
Onwards 💪
https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/issues/410
This issue is also mentioned here if anyone is looking for references to other people running into the same issue
Closing this duplicate. See issue: https://github.com/gatsbyjs/gatsby/issues/29535
Description
I'm having a play with
gatsby-source-wordpress
and have created a stripped back repo hereI've only added the deps i think i need after referencing the starter
But I'm seeing the following error:
Steps to reproduce
I have WP running on wordpress.com and my graphql endpoint url is
https://pauliepro.blog/graphql
.. maybe it's something i've done wrong in WP?If i use the url from the starter
https://wpgatsbydemo.wpengine.com/graphql
this repro repo works ok. However the starter errors when i use my url, which makes me think it's something to do with how i've setup WP rather than a problem with the source plugin.I've added the following plugins to WP
but when i run...
yarn develop
|gatsby develop
i see an errorExpected result
I was hoping the site would build
Actual result
ERROR
Environment