software-mansion / asdf-scarb

Scarb plugin for the asdf version manager
https://docs.swmansion.com/scarb
MIT License
7 stars 1 forks source link

download scarb: The requested URL returned error: 404 #22

Closed MPSxDev closed 1 month ago

MPSxDev commented 1 month ago

Problem

Issue with generating release files that are not the same as the releases https://github.com/software-mansion/scarb/releases/

$ asdf install scarb 2.8.2
* Downloading scarb release 2.8.2...
curl: (22) The requested URL returned error: 404
asdf-scarb: Could not download https://github.com/software-mansion/scarb/releases/download/v2.8.2/scarb-v2.8.2-x86_64-pc-windows-gnu.tar.gz

Steps

  1. asdf install scarb 2.8.2 or any other version

Possible Solution(s)

URL generator needs to be updated

Notes

No response

Does this issue reproduce in the latest version of asdf-scarb?

maciektr commented 1 month ago

Hi @MPSxDev ! What OS are you using? 🤔

MPSxDev commented 1 month ago

Windows 11

El mar, 10 de sept de 2024, 06:26, maciektr @.***> escribió:

Hi @MPSxDev https://github.com/MPSxDev ! What OS are you using? 🤔

— Reply to this email directly, view it on GitHub https://github.com/software-mansion/asdf-scarb/issues/22#issuecomment-2340138913, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIV7DYQ5DCDL4CP27AYZKSLZV23L5AVCNFSM6AAAAABN5YBXIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGEZTQOJRGM . You are receiving this because you were mentioned.Message ID: @.***>

maciektr commented 1 month ago

@MPSxDev ASDF is written in shell scripts. It does not support Windows. Your best shot is using ASDF in WSL2 (WSL1 is not supported) but only in linux directories - not Windows ones. See ASDF support for more info: https://asdf-vm.com/more/faq.html#wsl2-support For Windows, you should stick to downloading exe files manually.