-
Notifications
You must be signed in to change notification settings - Fork 156
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
[ BUG ] simpleSiteMapAndIndex error #322
Comments
based off the error it looks like you are passing a directory that does not exist. based off the name I think you were trying to pass a file to the directory argument. |
This is outputting (based on the defaults) to a build directory, it could not exist at any given build. I would expect sitemap be creating the destination directory if it doesn't exist, since it's handling all other file related things. |
That makes sense. This particular wrapper is only a couple days old so there's bound to be usability bugs. I'll keep this open to change that behavior but once you changed the path did things work ok for you? |
Yeah, changing the path to an existing directory resolved the issue. Thanks for your work on this project, this simple function in particular is nice to have. I will add, it would be nice to have an option to not gzip the sitemaps. |
recursively create destination dir fix #322
Describe the bug
All day everyday. Wondering if it's a windows bug
Expected behavior
I'd expect it to no fail and write the files to disk.
Context:
Additional context
Node LTS 12
The text was updated successfully, but these errors were encountered: