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

fix: windows replace access denied error to EPERM #4067

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

voudin
Copy link

@voudin voudin commented Feb 8, 2025

Fix #3783 #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.

In restricted environments, users may not have permission to read the root folder of the disk.
disk

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

Successfully merging this pull request may close these issues.

esbuild tried to read "../../.." , in vite , using npm run dev
1 participant