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

Allow switching between local versions using major version number when internet is not available #377

Closed
Corluhan opened this issue Sep 30, 2016 · 3 comments

Comments

@Corluhan
Copy link

Say I have 2 versions installed:

    node/0.12.16
  ο node/6.7.0

I can easily switch between them when specifying the full version number:

$ sudo n 0.12.16
$ sudo n 6.7.0

This doesn't work with the major numbers:

$ sudo n 6.

  Error: invalid version 6.

The ideal behavior is to select the latest installed version with the specified major version number.

@qw3rtman
Copy link
Collaborator

qw3rtman commented Oct 4, 2016

@Corluhan: Is this only an issue when you have no Internet connection?

@shadowspawn
Copy link
Collaborator

This is an interesting idea, but would need a different approach to clarify the two different behaviours of picking latest local version or latest downloadable version.

A simple workaround is to use the menu selection and pick from the installed versions.

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

@shadowspawn
Copy link
Collaborator

Added --offline option in n v9.2.0

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

No branches or pull requests

3 participants