spawn-wrap
spawn-wrap copied to clipboard
Cannot find npm 4.0.5 on Windows
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
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
.
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.
Can anyone suggest a workaround for this. I have the same issue and can't run nyc on my windows box.