gatsbyjs / gatsby-source-wordpress-experimental

The upcoming v4 of gatsby-source-wordpress, currently in beta
MIT License
385 stars 100 forks source link

Error: Panicking because nodes appear to be being changed every time we run queries #350

Closed luisduenas closed 3 years ago

luisduenas commented 3 years ago

Hi

I'm fetching data from a Graphql endpoint, it took like 5 hours to finish fetching all the data and now that I'm trying to query the data, I was able to fetch some of it, but as soon as I try to get the featuredImage field I'm getting this error

image

And after running gatsby develop again, I can see all the available fields, but all the data is gone and any query returns empty data. To fix this, I need to clear the cache, build the site and wait another 5 hours.

This is the query that I'm using

{
   allWpPost{
      nodes{
         featuredImage{
            node{
               altText
            }
         }
     }
   }
}
TylerBarnes commented 3 years ago

Hi @luisduenas , are you able to share a reproduction repo? It's hard to say what could be happening from the description. Thanks!

TylerBarnes commented 3 years ago

It sounds like there's definitely a bug here (5 hours is not normal) but since we don't have access to a reproduction and no other reports we can't fix this. Please open a new issue on the GatsbyJS Github repo if this is still a problem and include a reproduction repo so we can debug/fix the issue.

Thank you :)