spawn-wrap icon indicating copy to clipboard operation
spawn-wrap copied to clipboard

Cannot find npm 4.0.5 on Windows

Open smolyakoff opened this issue 8 years ago • 3 comments

Please, see the description here, as I'm not sure if it's spawn-wrap or npm fault https://github.com/npm/npm/issues/15231

smolyakoff avatar Dec 15 '16 15:12 smolyakoff

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.

ReinAkane avatar May 04 '17 19:05 ReinAkane

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.

li3 avatar May 04 '17 20:05 li3

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

markdemich avatar Oct 14 '17 10:10 markdemich