zkat / npx

execute npm package binaries (moved)
https://github.com/npm/npx
Other
2.63k stars 105 forks source link

Fail to run npx with --node-arg on Windows #170

Closed generalov closed 6 years ago

generalov commented 6 years ago
npx -v
10.0.1

I've tried to pass --inspect command line argument to node interpreter:

npx -n --inspect eslint
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Long argument version npx --node-arg --inspect eslint leads to the same error. However it runs perfectly without --node-arg: npx eslint.

noelleleigh commented 6 years ago

Submitted #173 to fix this