Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to build locally to get htmls #1711

Open
WestFarmer opened this issue Aug 30, 2024 · 1 comment
Open

[Question] How to build locally to get htmls #1711

WestFarmer opened this issue Aug 30, 2024 · 1 comment

Comments

@WestFarmer
Copy link

I want to serve k6 docs in our air-gapped environment.

thanks!

@WestFarmer
Copy link
Author

run npm run build, failed with:

success createPages - 233.360s
success createPagesStatefully - 7.070s
info Total nodes: 9368, SitePage nodes: 979 (use --verbose for breakdown)
success Checking for changed pages - 0.001s
success onPreExtractQueries - 0.002s

 ERROR #85923  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "siteUrl" on type "SiteSiteMetadata".

If you don't expect "siteUrl" to exist on the type "SiteSiteMetadata" it is most likely a typo. However, if you expect "siteUrl" 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/gatsby-config, please try a restart of your development server.
- You want to optionally use your field "siteUrl" and right now it is not used anywhere.

It is recommended to explicitly type your GraphQL schema if you want to use optional fields.

File: src/components/shared/seo/seo.view.js:38:11

See our docs page for more info on this error: https://gatsby.dev/creating-type-definitions

not finished Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 256.357s
failed extract queries from components - 3.888s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant