-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-plugin-sitemap not generating sitemap with default options when running yarn build #31903
Comments
Getting the exact same error when running |
In my case build is successfully finished by there is no sitemap.xml any longer in the public folder. |
Ending up following the steps outlined here to wrap up the build: |
Same issue here |
Following your reproduction steps I'm also seeing this.
That's working as intended. Look for a |
The real error message was hidden. The issue is that |
@LekoArts I've got siteMetadata defined in config but still got this issue. |
Downgraded to 3.3.0 "gatsby-plugin-sitemap": "^3.3.0" Working fine here. |
Thank you. Downgrading to v3 resolved the issue for me as well. 😀 |
on Gatsby 3.9.0, downgrading from 4.5.0 to 3.3.0 fixed it for me as well. I already have |
Description
When running yarn build gatsby-plugin-sitemap is generating following error:
However I'm using default options and when looking on the graphql query, it is actually generating the paths on the allSitePage query.
Steps to reproduce
Initialize a gatsby project:
nvm use 12
yarn add gatsby-plugin-sitemap
Expected result
gatsby-plugin-sitemap creates a sitemap
Actual result
Not finishing the build
Environment
The text was updated successfully, but these errors were encountered: