asdf-community / asdf-flutter

flutter plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
111 stars 31 forks source link

3.0.0 macOS arm64 unable to find url #32

Open jayjah opened 2 years ago

jayjah commented 2 years ago
$ asdf install flutter 3.0.0-stable
/Users/jayjah/.asdf/plugins/flutter/bin/install: line 25: jq: command not found
/Users/jayjah/.asdf/plugins/flutter/bin/install: line 26: jq: command not found
/Users/jayjah/.asdf/plugins/flutter/bin/install: line 27: [: -gt: unary operator expected
Cannot find the download url for the version: 3.0.0-stable
shcahill commented 2 years ago

I faced the same problem. and after install jq, the installation was successful.

brew install jq

RenanEvangelista commented 2 years ago

same here (ubuntu 20.04)

Yegair commented 2 years ago

Had the same Problem, but couldn't solve it by installing jq manually (which already was installed).

My workaround was to download Flutter manually (https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.0.0-stable.zip), extract it to ~/.asdf/installs/flutter/3.0.0-stable and then run asdf reshim flutter 3.0.0-stable.

dgilperez commented 2 years ago

asdf plugin-update flutter fixed it for me.

f2acode commented 1 year ago

On Ubuntu 22.04 I faced a similar issue, solved by running sudo apt install -y jq