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

Can't update index, host unavailable: "https://nodejs.org/dist" #185

Closed
sophiiss opened this issue May 18, 2022 · 4 comments
Closed

Can't update index, host unavailable: "https://nodejs.org/dist" #185

sophiiss opened this issue May 18, 2022 · 4 comments

Comments

@sophiiss
Copy link

I reinstalled my OS and now I get this error when I try to run nvm install or nvm list-remote

Can't update index, host unavailable: "https://nodejs.org/dist"

@jorgebucaran
Copy link
Owner

What is your OS? You just re-installed, right? Meaning, reinstalling didn't wipe out your disk or Fish.

@asutula
Copy link

asutula commented May 19, 2022

Same problem here. Brand new MacBook Pro with the M1 Pro chip.

@asutula
Copy link

asutula commented May 19, 2022

Full error here:

warning: An error occurred while redirecting file '/Users/aaron/.local/share/nvm/.index.temp'
warning: Path '/Users/aaron/.local/share/nvm' does not exist
nvm: Can't update index, host unavailable: "https://nodejs.org/dist"

@asutula
Copy link

asutula commented May 19, 2022

Ok, uninstalled and re-installed nvm.fish using fisher and that seems to have fixed it. I believe I migrated all my Fish settings and plugins from my old computer (an Intel chip MacBook Pro), so likely something incompatible there.

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