jorgebucaran / nvm.fish

The Node.js version manager you'll adore, crafted just for Fish
https://git.io/nvm.fish
MIT License
2.06k stars 69 forks source link

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

Closed sophiiss closed 2 years ago

sophiiss commented 2 years ago

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 commented 2 years ago

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

asutula commented 2 years ago

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

asutula commented 2 years ago

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 commented 2 years ago

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.