asdf-flutter icon indicating copy to clipboard operation
asdf-flutter copied to clipboard

3.0.0 macOS arm64 unable to find url

Open jayjah opened this issue 3 years ago • 5 comments

$ 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

jayjah avatar May 12 '22 12:05 jayjah

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

brew install jq

shcahill avatar May 12 '22 20:05 shcahill

same here (ubuntu 20.04)

RenanEvangelista avatar May 13 '22 03:05 RenanEvangelista

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.

Yegair avatar May 13 '22 08:05 Yegair

asdf plugin-update flutter fixed it for me.

dgilperez avatar Jun 21 '22 15:06 dgilperez

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

f2acode avatar Dec 17 '22 14:12 f2acode