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

error when running 'nvm install latest' #958

Closed
peregringunn opened this issue Apr 12, 2023 · 1 comment
Closed

error when running 'nvm install latest' #958

peregringunn opened this issue Apr 12, 2023 · 1 comment

Comments

@peregringunn
Copy link

Issue:
When attempting to install the latest version (19.9.0) of npm the following error occurs
nvm install 19.9.0
panic: runtime error: index out of range [3] with length 3

goroutine 1 [running]:
main.checkVersionExceedsLatest({0x11c160b0, 0x6})
C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:875 +0x220
main.install({0x11c160b0, 0x6}, {0x8b9d26, 0x2})
C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:308 +0x337
main.main()
C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:87 +0xaea

How To Reproduce:
after running the nvm setup, enter 'nvm install latest' or 'nvm install 19.9.0' in powershell or cmd

Expected Behavior:
npm and node.js should install successfully

Desktop:

  • OS: Windows 10
@coreybutler
Copy link
Owner

Please search/review existing issues before posting a new issue. This is the 4th duplicate of #955.

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