-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
npx on windows - cannot find module with spaces in installation path #15095
Comments
This should be reported to https://github.com/zkat/npx |
I suspect this should probably be filed against the npx repo instead. /cc @zkat |
Looks like zkat/npx#110 However I think it's worth having an issue here to note/track that the |
@LuciusAterna not really possible, this happens when you run |
The issue here is not the Node.js path (it spawns just fine) but the |
@nodejs/npm I know you guys are crazy busy, but an update to 5.4.0 (or even 5.4.1) would be really good, sounds like it has a bunch of new stuff! |
Since #15347 got closed, maybe we should add a float patch zkat/npx@314e5eb, to make npx work? |
Depends how soon 5.4.2 is going to be out. I assume it'll be out pretty soon, in which case it probably makes more sense to just wait for that. This is a new feature that most people are unlikely to be relying on yet. |
Why no to update the npm version in latest yet? I was waiting for 8.5.0 to include this fix, but even when 5.4.x has been released before 8.5.0, it did not land there. Why? |
npm in node has included zkat/npx@314e5eb since 5.4.0. There's more issues here. |
Nope. npm as include the fix in 5.4.x and Node currently includes npm 5.3.0. I just downloaded Node 8.5.0, got disappointed that it did not include the fix, and come here to comment. |
So... From comments in #15600 I can assume that the upgrade have not landed yet cause the stability of |
Not sure if it got fixed or this is the same error with different message |
Fixed in #15600 |
When I try to run
npx --version
on Windows where the installation path contains a space, the module cannot be found. This issue is not seen when Node is installed to a path containing no spaces.(https://nodejs.org/dist/v8.4.0/node-v8.4.0-x64.msi)
The text was updated successfully, but these errors were encountered: