[BUG] npm run
: '--' prefixed flags invalid
#6541
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
The arguments start with '--' won't pass to program when using

npm run --
main.js
console.log(process.argv)
commands:
npm run start -- --test=text
output:
(won't show
--test=text
argument)screenshot:
Expected Behavior
the argument start with '--' should output normally
Steps To Reproduce
npm run start -- --arg=value
Environment
The text was updated successfully, but these errors were encountered: