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

Bug: EISDIR: illegal operation on a directory #1

Closed
5 tasks done
mctweb opened this issue Dec 21, 2022 · 1 comment
Closed
5 tasks done

Bug: EISDIR: illegal operation on a directory #1

mctweb opened this issue Dec 21, 2022 · 1 comment

Comments

@mctweb
Copy link

mctweb commented Dec 21, 2022

Describe the bug

Bug was introduced here: 659a0d8

Error:

 ERROR  EISDIR: illegal operation on a directory, open 'C:\Users\Fraser\Websites\2022\mctweb.co.uk\.output\public\sitemap.xml'

When nitro.options.prerender.routes.push("/sitemap.xml") is removed, the module works as expected

Reproduction

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
    Memory: 18.43 GB / 31.92 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.18.0 - ~\AppData\Roaming\npm\npm.CMD

Used Package Manager

yarn

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@harlan-zw
Copy link
Collaborator

Hey thanks! Good catch, have fixed that up in 0.5.5.

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

2 participants