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

nvm use [major] doesn't work properly #839

Closed
joseph-parsley opened this issue Jul 26, 2022 · 1 comment
Closed

nvm use [major] doesn't work properly #839

joseph-parsley opened this issue Jul 26, 2022 · 1 comment

Comments

@joseph-parsley
Copy link

Issue: nvm use [major] doesn't work properly
If you attempt to try something like nvm use 14 when you have a node v14.x.x installed, you get an error message.

How To Reproduce:

  1. Have a major version of node (example 14.17.3) installed
  2. npm use 14
  3. Receive error message

Expected Behavior:

The latest version of node v14 should be used.

Additional context:
It seems possible this could be a typo on a feature that should work because it looks like it's very close to working:

$ nvm use 14
node vv14.17.3 (64-bit) is not installed or cannot be found.

The extra v makes it look like it's trying to do the correct thing behind the scenes but the extra character makes it not work.
This functionality works as I'd expect it to if I do nvm install 14, it installs the latest version of that major version.

@coreybutler
Copy link
Owner

Duplicate of #708.

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

2 participants