Skip to content

ENOENT error when reading root of subst drive on Windows #58970

Description

@PetSerAl

Version

v24.3.0

Platform

Microsoft Windows NT 10.0.26100.0 x64

Subsystem

No response

What steps will reproduce the bug?

md Subst
echo test>Subst\testfile
subst M: Subst
fs.readdirSync("C:\\")
fs.readdirSync("M:\\")
fs.readdirSync("M:\\.")
Image

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

No error should happens.

What do you see instead?

ENOENT: no such file or directory, scandir 'M:\\'

Additional information

Not program with Node.js myself. Have issue with this behavior with VS Code extension belav/csharpier#1637

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    libuvIssues and PRs related to the libuv dependency or the uv binding.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions