-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Node 23.2 fs
lost the ability to enumerate named pipes on Windows
#56002
Comments
bisect a bit on 23 branch and found that commit 038ac01 seems to cause this. The diff introduced with above commit is that @huseyinacacak-janea any hints how to fix this. |
hello @Flarna , when will the fix be available so that I can update node and avoid the debugging problem ? |
Fix PR is waiting on more approvals. |
Thanks for the fix! For the release notes it would probably worth it to mention |
Version
23.2.0
Platform
Subsystem
fs
What steps will reproduce the bug?
This regressed in 23.2:
How often does it reproduce? Is there a required condition?
100%
What is the expected behavior? Why is that the expected behavior?
The contents of
\\.\pipe
should be able to be read as a directory.What do you see instead?
ENOTDIR when enumerating
\\.\pipe
Additional information
This causes js-debug's debugger to break #55948. There is not really a good workaround.
Windows lacks any kind of API aside from this for checking the existence of a named pipe--as
exists
/stat
actually connects to the pipe--so listing\\.\pipe
is a common pattern for Windows applications who need to check (e.g. https://berserkerdotnet.github.io/blog/detecting-namedpipe-exists/)The text was updated successfully, but these errors were encountered: