Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

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

Closed
generalov opened this issue Apr 8, 2018 · 1 comment
Closed

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

generalov opened this issue Apr 8, 2018 · 1 comment

Comments

@generalov
Copy link

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
Copy link
Contributor

Submitted #173 to fix this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants