Closed wad-im closed 3 years ago
When I uninstall the gatsby sitemap plugin, I do not get any build error on netlify anymore. Yet, if I install the google analytics plugin, the same error appears, too. So the issue does not seem to lie with the plugins.
Description
After adding the gatsby sitemap plugin to my project, the production on netlify (and on gatsby cloud) throw an error.
My local build works as expected and does not throw any error.
I consider myself a beginner and do not understand the error and how to solve it. I'd appreciate your help. I am not sure whether the error is with adding the sitemap plugin. The error on gatsby cloud was thrown also before the plugin, but only after adding the plugin, netlify yielded an error, too.
Steps to reproduce
Not sure what the error is about to reproduce. I can share the repo, if it helps.
How to Make a Minimal Reproduction: https://www.gatsbyjs.com/contributing/how-to-make-a-reproducible-test-case/
Expected result
A successful build on netlify (and on gatsby cloud) and the sitemap successfully added.
Actual result
and gatsby cloud throws the following error (the cloud error existed also before, while on netlify there was not error):
Environment