jorgebucaran / nvm.fish

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

nvm.fish on Darwin ARM 404s looking for node install #126

Closed bryansh closed 3 years ago

bryansh commented 3 years ago
nvm install latest
Installing Node v15.4.0 latest
Fetching https://nodejs.org/dist/v15.4.0/node-v15.4.0-darwin-arm64.tar.gz
nvm: Invalid mirror or host unavailable: "https://nodejs.org/dist/v15.4.0/node-v15.4.0-darwin-arm64.tar.gz"

https://nodejs.org/dist/v15.4.0/node-v15.4.0-darwin-arm64.tar.gz - is not found; I don't think that there is a Darwin ARM release...and that compiling from source is known to work.

jorgebucaran commented 3 years ago

@bryansh Are you using an M1 mac?

bryansh commented 3 years ago

I am!

jorgebucaran commented 3 years ago

@bryansh Cool! I guess the best we can do for now is improve the error message? We don't support compiling from the source, yet. Is that what you expected to happen? I guess I could look into this

bryansh commented 3 years ago

Ahh, I see - I think the non fish NVM compiles from source if there isn't a binary available (I saw it do this before migrating to fish). It would be cool if nvm.fish did similar or to your point, set user expectations.

jorgebucaran commented 3 years ago

Closing in favor of #127.