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

Currently broken for Windows with MSYS2 #136

Open tasop-rsconnect opened 3 years ago

tasop-rsconnect commented 3 years ago

Installing a version of node (specifically 10.23.2) has the following problems:

Using it on Windows 10 with MSYS2.
curl version: 7.74.0 (x86_64-pc-msys) tar version: bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp

I decided against making a pull request since I only have workarounds for the above and I can't be sure it would work in general, but I can hope this information helps you figure out the problems.

M4RC3L05 commented 3 years ago

@tasop-rsconnect I had the same issues you describe, so i made a fork with patches for msys2/mingw here, maybe this can help.

@jorgebucaran If this is a good solution i'm happy to make a PR.

jorgebucaran commented 3 years ago

I'd love a PR! @M4RC3L05

matteopt commented 2 years ago

@jorgebucaran I've created a new pull request to fix this, it uses either unzip or bsdtar (included in MSYS2). https://github.com/jorgebucaran/nvm.fish/pull/192