-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
Closed
Labels
npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.wrong repoIssues that should be opened in another repository.Issues that should be opened in another repository.
Description
- Version: v14.17.0
- Platform: Microsoft Windows [Version 10.0.19042.1052]
- Subsystem:
Any use of npm.cmd or npx.cmd command causes strings with "c:\Program Files\nodejs" to show up as
"c:\Program Files\nodejs\\..." in the Windows task manager information.
I don't believe this actually causes errors, but it leaves a bad impression when someone notices it and at some point might be even questioned as the source of some issue.
I actually tracked this down to use of ...
SET "NODE_EXE=%~dp0\node.exe"
in the script when they should have done something like ...
SET "SCRIPTPATH=%~dp0"
SET "NODE_EXE=%SCRIPTPATH%node.exe"
to avoid the double slash
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.wrong repoIssues that should be opened in another repository.Issues that should be opened in another repository.
