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

Installation paths with spaces fail with nvm use #337

Closed
5 tasks done
Jameskmonger opened this issue Feb 16, 2018 · 2 comments
Closed
5 tasks done

Installation paths with spaces fail with nvm use #337

Jameskmonger opened this issue Feb 16, 2018 · 2 comments

Comments

@Jameskmonger
Copy link

My Environment

Windows 10 Enterprise

I'm using NVM4W version:

1.1.5

I have already...

  • read the README to be aware of npm gotchas & antivirus issues.
  • reviewed the wiki to make sure my issue hasn't already been resolved.
  • verified I'm using an account with administrative privileges.
  • searched the issues (open and closed) to make sure this isn't a duplicate.
  • made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

Expected Behavior

nvm use ... should work regardless of install location

Actual Behavior

nvm use ... fails if the path has spaces in it

When installed in D:\Program Files\nvm:

C:\Users\JamesMonger
λ nvm use 8.9.4
exit status 1: 'D:\Program' is not recognized as an internal or external command,
operable program or batch file.

Steps to reproduce the problem:

Install nvm to a path with spaces in
Try to use nvm use

@KevinSnyderCodes
Copy link

Maybe duplicate of #41. I was able to solve this issue using the workaround here.

@coreybutler
Copy link
Owner

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

No branches or pull requests

3 participants