Open iaremarkus opened 4 years ago
👋 @wondergryphon – Hard to say without seeing more of what is going on. One thing does stick out. I see your file path is that of MAMP. This repo uses docker and doesn't need MAMP so I'm a bit confused on your setup. Is it possible you have a Gatsby theme in a MAMP directory? You have a repo or a bit more info?
Heya @justinwhall thanks for the reply :)
Yeah I put all my projects inside htdocs
, even though MAMP isn't always the platform used. So MAMP wasn't running here, my Docker instance was.
Basically I wanted to prove the concept to myself that I could use your Beers example to createPages
with my own CPT. So I worked through various issues with my own code, CPT setup and GraphQL etc until finally I wasn't getting errors in my own code, but now the build fails because of GraphQL errors in the WPGraphQL documentation?
Just seems super weird that it's looking there in the first place?
I'm still trying to understand how this is all structured in terms of the filesystem. I would personally remove any client apps from the mamp server. They error you are receiving seems related to MDX which this starter doesn't use.
I just had the same issue @iaremarkus, and deleted the docs directory and then it worked :) it's a weird bug but that's the workaround
Thanks for your work on this Justin :)
I'm getting a really weird build error through:
Why is my code in
./site
, worrying about GraphQL errors in the WordPress theme's plugin?Hope you can help. Pulling my hair out here :(