-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
panic: runtime error: index out of range [3] with length 3 #960
Comments
Duplicate #955. Since this is the 5th duplicate of this issue posted in the last 24 hours, despite the issue being pinned to the top of the issues list, I'm leaving this one open in hopes people will actually look at the issue list before repeatedly posting it. I know it's impacting people. It is already resolved, but it takes some time to cut a release. I have a product launch for a paid client taking precedence this week. As soon as I have time, I will release v1.1.11. In the meantime, nothing is preventing anyone from running |
Apologies that I missed it! I just did a google search rather than a github search and little came up. Thanks and apologies once again. |
That being said nvm install 19.9.0 did give the same error for me. I'll try again next release. |
@chratschan - I didn't mean to target you personally, so apologies if it came across that way. It's just a trend I've seen. If |
1.1.11 is now available in the releases. |
I have the same problems, After I updated nvm, it's ok now.
|
Issue:
I'm unable to run nvm install from an elevated terminal.
How To Reproduce:
`panic: runtime error: index out of range [3] with length 3 goroutine 1 [running]:
main.checkVersionExceedsLatest({0x11814ea0, 0x6})
C:/Users/corey/OneDrive/Documents/workspace/libraries/oss/coreybutler/nvm-windows/src/nvm.go:875 +0x220 main.install({0x118140b0, 0x6}, {0xb29d26, 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 `
Expected Behavior:
The expected behavior would be for it to install the latest version of NPM.
Desktop:
The text was updated successfully, but these errors were encountered: