mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-12-06 22:52:23 +03:00
`nvm reinstall-packages 99` resolved the version to `N/A` and kept going: it told the user to run `nvm install N/A`, printed "Reinstalling global packages from N/A..." and exited 0. Only the case of an installed version excluded by `--only` returned early. Now any unresolved version prints "Version '99' is not installed." and returns 3, like `nvm install --reinstall-packages-from=`, which already requires an installed version. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: thejesh23 <35212698+thejesh23@users.noreply.github.com>