Closed Tanguy-Plf closed 4 years ago
Looks like your data is causing allSitePage to not have a component for some reason. Do you have this in a reproducible repository?
Hi, thanks for replying that fast,
Unfortunately I can't share the repository since it's for a client and the project is well started now, but here is some information that may be important for this issue :
When I try the query in the localhost:8000/__graphiql/ interface, I have absolutely no errors, it only happens on build time (which makes sense for the plugin but not for the query since it is exactly the same)
I hope these informations will help, ask if I can do anything else,
Well, this is hard to debug without me having the exact reproduction that can be inspected. Have you tried removing the component
part from the query? You likely don't need that in the search indes
I did remove component and componentChunk and it built fine. If it is not important then it's fine, I copied that from the doc without thinking more about it.
Sorry for wasting your time !
No problem at all! I think it's a bug somewhere, but it's more likely to be in Gatsby than here (since we just proxy to their query
function). If you see this again, you should open a GitHub issue in Gatsby itself with reproduction. Glad your problem is solved for now!
Hello,
I'm having a problem with the plugin running gatsby build.
here is my query :
my gatsby config file :
and the error :
I tried multiple things, but I always goes right to this error. Does someone have a workaround on that ?
Thanks !