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

--run CLI argument fails for path name with an umlaut character on windows #56168

Open
philSixZero opened this issue Dec 7, 2024 · 2 comments

Comments

@philSixZero
Copy link

Version

22.12.0

Platform

Microsoft Windows NT 10.0.19045.0 x64

Subsystem

No response

What steps will reproduce the bug?

  1. Create a directory with a name containing an umlaut character, e.g. lärm
  2. Create a package.json file in it, with a test script.
  3. Run node --run test

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

  • OS has to be Windows, on Linux the issue is not reproducible
  • A pathname with an umlaut character in it.

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

It should execute the test script in the package.json file.

What do you see instead?

D:\D\lärm>node --run test
Can't find package.json for directory D:\D\lõrm

Additional information

No response

@philSixZero philSixZero changed the title --run CLI argument fails for directories containing umlaut character on windows --run CLI argument fails for path name with an umlaut character on windows Dec 7, 2024
@Clementebrito

This comment has been minimized.

@BetaDude40
Copy link

BetaDude40 commented Dec 10, 2024

Most likely related to #56049 and std::filesystem::path. I'll take a look at it.

I'm a little new to the repo though, so I'm not quite sure where to start looking first.

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

3 participants