-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error when running gatsby build with --prefix-paths #13
Comments
I'm having the same issue |
I'm a novice in nodejs, so bear with me. So, there are two ways to fix this issue.
The easiest would be to implement the first option and then let the user put sitemap files where appropriate through the |
For now, I've selected the second option and simply removed It's a shame I'm not that experienced in nodejs to contribute with the third option :( |
@dimileeh your quick fix works. What I don't understand: why is
|
Since I didn't need the advanced features, I ended up using the basic sitemap plugin https://www.gatsbyjs.org/packages/gatsby-plugin-sitemap/ which works fine |
any update on this bug? |
Any update on this ? facing same issue while using gatsby-plugin-advanced-sitemap |
I've not tested fully but hopefully, this should solve #126 |
@yogeshkotadiya not entirely. It still doesn't generate sitemap-(part).xml because the nested directory doesn't exist. You might need to make any parent directories if they don't exist. For reference, I had to add |
@yogeshkotadiya another problem is the relative location of |
I'm still getting this "file or directory not found" using |
@yogeshkotadiya the offending line for
Basically, if sitemaps are generated under Why not move it under |
I am facing the same issue when using Would be nice if there was an option to exclude styling altogether, then I could at least get around the issue. Although should sitemaps get prefixed anyway? I guess you'd always/usually want it at the root, e.g. example.com/sitemap.xml |
Issue Summary
Trying to use this plugin and deploy to Github Pages (using gh-pages)
Errors
To Reproduce
pathPrefix
key/value to gatsby-config.jsgatsby build --prefix-paths
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:
The text was updated successfully, but these errors were encountered: