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
{{ message }}
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Cannot query field "allExampleCode" on type "Query".
If you don't expect "allExampleCode" to exist on the type "Query" it is most likely a typo.
However, if you expect "allExampleCode" 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 "allExampleCode" 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")
failed extract queries from components - 0.758s
success write out requires - 0.146s
success write out redirect data - 0.042s
success Build manifest and related icons - 0.123s
success onPostBootstrap - 0.137s
⠀
info bootstrap finished - 12.114 s
⠀
warn code block or inline code language not specified in markdown. applying generic code block
warn unable to find prism language 'sh' for highlighting. applying generic code block
warn unable to find prism language 'jsxon' for highlighting. applying generic code block
ERROR
UNHANDLED REJECTION [
'/C:\hp\gu.reactjs.org\examples\es5-syntax-example',
Error: C:\hp\gu.reactjs.org\public\page-data\C:\hp\gu.reactjs.org\examples\es5-syntax-example contains invalid WIN32 path characters.
at Object.mkdirs (C:\hp\gu.reactjs.org\node_modules\fs-extra\lib\mkdirs\mkdirs.js:18:22)
at Object.mkdirs (C:\hp\gu.reactjs.org\node_modules\universalify\index.js:5:67)
at C:\hp\gu.reactjs.org\node_modules\fs-extra\lib\output\index.js:20:11
at C:\hp\gu.reactjs.org\node_modules\universalify\index.js:23:46 {
code: 'EINVAL'
},
{ elapsed: 33635 }
]
not finished run queries - 33.795s
not finished Generating image thumbnails - 33.566s
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————320 pages In Progress react-websiteerror Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also posted this on main repo.Can anyone help!!
The text was updated successfully, but these errors were encountered:
Did anyone faced this issue
Here is full error:
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allExampleCode" on type "Query".
If you don't expect "allExampleCode" to exist on the type "Query" it is most likely a typo.
However, if you expect "allExampleCode" to exist there are a couple of solutions to common problems:
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: src\pages\index.js:358:5
failed extract queries from components - 0.758s
success write out requires - 0.146s
success write out redirect data - 0.042s
success Build manifest and related icons - 0.123s
success onPostBootstrap - 0.137s
⠀
info bootstrap finished - 12.114 s
⠀
warn code block or inline code language not specified in markdown. applying generic code block
warn unable to find prism language 'sh' for highlighting. applying generic code block
warn unable to find prism language 'jsxon' for highlighting. applying generic code block
ERROR
UNHANDLED REJECTION [
'/C:\hp\gu.reactjs.org\examples\es5-syntax-example',
Error: C:\hp\gu.reactjs.org\public\page-data\C:\hp\gu.reactjs.org\examples\es5-syntax-example contains invalid WIN32 path characters.
at Object.mkdirs (C:\hp\gu.reactjs.org\node_modules\fs-extra\lib\mkdirs\mkdirs.js:18:22)
at Object.mkdirs (C:\hp\gu.reactjs.org\node_modules\universalify\index.js:5:67)
at C:\hp\gu.reactjs.org\node_modules\fs-extra\lib\output\index.js:20:11
at C:\hp\gu.reactjs.org\node_modules\universalify\index.js:23:46 {
code: 'EINVAL'
},
{ elapsed: 33635 }
]
Error: [
'/C:\hp\gu.reactjs.org\examples\es5-syntax-example',
Error: C:\hp\gu.reactjs.org\public\page-data\C:\hp\gu.reactjs.org\examples\es5-syntax-example contains invalid WIN32 path characters.
not finished run queries - 33.795s
not finished Generating image thumbnails - 33.566s
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————320 pages In Progress react-websiteerror Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also posted this on main repo.Can anyone help!!
The text was updated successfully, but these errors were encountered: