-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Bugthing that needs fixingthing that needs fixingplatform:windowsis Windows-specificis Windows-specific
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
I print process.argv in powershell,use npm it will lose the parameter --debug
,But pnpm won't
a.js
console.log(process.argv)
When I use pnpm run the result is correct, but with npm run I need to use --- or quotes,
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- npm: 8.18.0
- Node.js: v16.13.1
- powershell: 7.2.5 or 5.1
AN0IHSVxgZulP5J0pgdf
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingplatform:windowsis Windows-specificis Windows-specific