Skip to content

vite6.0 error Cannot read directory "../..": Access is denied. #4017

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

Closed
gongph opened this issue Dec 24, 2024 · 1 comment
Closed

vite6.0 error Cannot read directory "../..": Access is denied. #4017

gongph opened this issue Dec 24, 2024 · 1 comment

Comments

@gongph
Copy link

gongph commented Dec 24, 2024

Env:

  • win10 64
  • vite@^6.0.5

npm run dev error:

Error: Build failed with 2 error:
error: Cannot read directory "../..": Access is denied.
error: Could not resolve "D:\\cz_workspace\\star-web-bui\\vite.config.js"
  at failureErrorWithLog (D:\cz_workspace\star-web-bui\node_modules\_[email protected]@esbuild\lib\main.js:1476:15)
  ...
@evanw
Copy link
Owner

evanw commented Dec 26, 2024

I'm closing this issue as the issue reporting instructions were not followed. Here are the instructions that you deleted when posting this issue:

When reporting a bug or requesting a feature, please do the following:

  • Describe what esbuild is doing incorrectly and what it should be doing instead.

  • Provide a way to reproduce the issue. The best way to do this is to demonstrate the issue on the playground (https://esbuild.github.io/try/) and paste the URL here. A link to a minimal code sample with instructions for how to reproduce the issue may also work. Issues without a way to reproduce them may be closed.

@evanw evanw closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2024
voudin added a commit to voudin/esbuild that referenced this issue Feb 8, 2025
fix evanw#3783 evanw#4017
On Windows, accessing a folder without read permissions results in an "access denied" error instead of EPERM.
To ensure consistency across platforms, this error is now replaced with EPERM.
voudin added a commit to voudin/esbuild that referenced this issue Feb 8, 2025
fix evanw#3783 evanw#4017
On Windows, accessing a folder without read permissions results in an "access denied" error instead of EPERM.
To ensure consistency across platforms, this error is now replaced with EPERM.
voudin added a commit to voudin/esbuild that referenced this issue Apr 6, 2025
fix evanw#3783 evanw#4017
On Windows, accessing a folder without read permissions results in an "access denied" error instead of EPERM.
To ensure consistency across platforms, this error is now replaced with EPERM.
voudin added a commit to voudin/esbuild that referenced this issue Apr 6, 2025
fix evanw#3783 evanw#4017
On Windows, accessing a folder without read permissions results in an "access denied" error instead of EPERM.
To ensure consistency across platforms, this error is now replaced with EPERM.
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