Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find npm 4.0.5 on Windows #41

Open
smolyakoff opened this issue Dec 15, 2016 · 3 comments
Open

Cannot find npm 4.0.5 on Windows #41

smolyakoff opened this issue Dec 15, 2016 · 3 comments

Comments

@smolyakoff
Copy link

Please, see the description here, as I'm not sure if it's spawn-wrap or npm fault
npm/npm#15231

@ReinAkane
Copy link

ReinAkane commented May 4, 2017

Confirmed that this issue appeared in 1.2.4

edit with more info:
The issue appears to be occurring when the user has npm installed as a node_module. This causes which to include ./node_modules/.bin because npm put its own executable in .bin.

@li3
Copy link

li3 commented May 4, 2017

We ran in to this same thing today as well.

nyc uses spawn-wrap and after adding david to our project nyc began reporting issues finding npm-cli.js.

Turns out david installs its own version of npm which spawn-wrap then tries to use.

@markdemich
Copy link

Can anyone suggest a workaround for this. I have the same issue and can't run nyc on my windows box.

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

No branches or pull requests

4 participants