Skip to content

Windows - UNC Path Support via npm.ps1 #48471

@mribbons

Description

@mribbons

What is the problem this feature will solve?

npm.cmd fails on Windows in UNC (And WSL) paths, because cmd.exe doesn't support UNC paths as cwd:
npm/cli#6280

What is the feature you are proposing to solve the problem?

This PR partially resolves the problem, but we need more info, as requested by @lukekarrys:

npm/cli#6548

Would you be able to open an issue or PR on https://github.com/nodejs/node to get feedback on how the Windows installers work, and if it would be appropriate for npm to ship these ps1 scripts in our bin/ dir and have them picked up by the installer?

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.npmIssues and PRs related to the npm client dependency or the npm registry.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