-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Node 22 broke readdir on Windows UNC paths #58223
Copy link
Copy link
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.regressionIssues related to regressions.Issues related to regressions.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.regressionIssues related to regressions.Issues related to regressions.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Version
22.15.0
Platform
Subsystem
fs
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior? Why is that the expected behavior?
To work, like it always used to.
What do you see instead?
ENOENT.
Additional information
I noticed this when upgraded my application from Electron 34 to 35, which also upgraded Node from 20 to 22. Maybe this is related to:
try catchnot work if path include unicode #51802Whatever was done there may have broken other cases.