You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the error like below when I run npm run docs Anyone can help me out?
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allApiBlueprint" on type "Query".
If you don't expect "allApiBlueprint" to exist on the type "Query" it is most likely a typo.
However, if you expect "allApiBlueprint" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allApiBlueprint" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: gatsby/createPages.js:22:13
The text was updated successfully, but these errors were encountered:
I got the error like below when I run
npm run docs
Anyone can help me out?The text was updated successfully, but these errors were encountered: