-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
--reinstall-packages-from= option unrecognized when doing nvm install --lts #1762
Comments
Both options you tried should indeed work. Just to confirm: just last night I pushed a change to master that alters this option a bit; you said "install via git" - does that means you're using the latest master? If you try one commit back (or, the latest release tag), does it work? |
I'm at the last release tag (v0.33.8), not the latest master. I just tried removing $NVM_DIR and cloning fresh from v0.33.8, still the same issue when I install 8.9.3 / global packages, then try to install a more recent LTS using the |
Same issue on another Mac, with essentially the same |
@joeptacek thanks for the followup. It's possible that there's a bug in reinstall-packages-from with LTS aliases. One thing to note, however: the instant you do Separately, |
Makes sense, re: FWIW just tested this, and works fine (using nvm install 8.9.4 --reinstall-packages-from=8.9.3 As you say, it seems that the |
FWIW, in the meantime, you can just do a two-command operation to get around the bug:
Maybe that's obvious to everyone but me... |
Still an issue. Will this ever be resolved? (I realize it's a minor thing and the workaround above is fine) |
I use an initial May not be the prettiest thing in the world, but it does the job 👍.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Any news on this? |
MacOS 10.13.3
nvm debug
output:nvm ls
output:nvm
? (e.g. install script in readme, Homebrew):Install via git
Tried to install latest LTS, reinstalling global packages from previous latest LTS (not sure if nvm would resolve previous latest correctly)
Also tried more explicitly
In each case, was informed either
or
At any rate this works fine
I was hoping to install the latest LTS and reinstall global packages from my old LTS. I think I've done something similar in the past without issue. Am I misusing the
--reinstall-packages-from=
option?.bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
?The text was updated successfully, but these errors were encountered: