Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Npx doesn't seem to work on Windows #17715

Closed
3 tasks
warpdesign opened this issue Jul 11, 2017 · 1 comment
Closed
3 tasks

Npx doesn't seem to work on Windows #17715

warpdesign opened this issue Jul 11, 2017 · 1 comment

Comments

@warpdesign
Copy link

warpdesign commented Jul 11, 2017

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • [x ] Other (see below for feature requests):

What's going wrong?

According to the changelog, calling npx cowsay is supposed to install cowsay if not installed and call it. On Windows, it doesn't work and returns this error:

E:\Docs\Dev\athenajs-tetris>npx bundle-buddy --demo
not found: C:\Users\Nicolas\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js

How can the CLI team reproduce the problem?

  • Install the latest npm 5.2.0 version on Windows (10)
  • Start a new cmd.exe prompt and type npx cowsay or any other command

npm -v: 5.2.0
node -v: v7.8.0
npm config get registry: https://registry.npmjs.org/

Windows 10 64bit (insiders build 16232)

@warpdesign
Copy link
Author

Seems like npx is in a separate repository & a bug has already been opened here: zkat/npx#58

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

1 participant