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

npx not working on Windows for not installed packages #14

Closed
katemihalikova opened this issue Jun 2, 2017 · 0 comments · Fixed by #27
Closed

npx not working on Windows for not installed packages #14

katemihalikova opened this issue Jun 2, 2017 · 0 comments · Fixed by #27

Comments

@katemihalikova
Copy link
Collaborator

When trying to run an executable of a package that is not currently installed, npx fails to run underlying npm commands.

♥ npx ncp --help
Command failed: C:\Program Files\nodejs\npm.CMD config get cache
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Any package that is currently not installed globally or in local scope ends with the same error.

  • node -v: v6.9.4
  • npm -v: 5.0.1
  • npx -v: 2.1.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants