Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter plugin depends on jq #580

Closed
toineheuvelmans opened this issue Apr 13, 2022 · 1 comment
Closed

Flutter plugin depends on jq #580

toineheuvelmans opened this issue Apr 13, 2022 · 1 comment
Labels

Comments

@toineheuvelmans
Copy link

Describe the Bug

Attempting to install a version of Flutter fails due to missing command jq. Luckily asdf also has a plugin for jq, but I would expect plugin dependencies to be managed in some way.

Steps to Reproduce

$ asdf install flutter latest

Expected Behaviour

$ asdf install flutter latest

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1121M  100 1121M    0     0  7402k      0  0:02:35  0:02:35 --:--:-- 8777k

Actual Behaviour

$ asdf install flutter latest

~/.asdf/plugins/flutter/bin/install: line 25: jq: command not found
~/.asdf/plugins/flutter/bin/install: line 26: jq: command not found
~/.asdf/plugins/flutter/bin/install: line 27: [: -gt: unary operator expected
Cannot find the download url for the version: 2.10.4-stable

Environment

MacOS 11.5.2

OS:
Darwin toines-mbp.home 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

SHELL:
zsh 5.8 (x86_64-apple-darwin20.0)

ASDF VERSION:
v0.9.0

ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/usr/local/opt/asdf/libexec

ASDF INSTALLED PLUGINS:
poetry                       https://github.com/asdf-community/asdf-poetry.git master 7ea77b0
python                       https://github.com/danhper/asdf-python.git master 57a4d72
@jthegedus
Copy link
Contributor

Dependencies are user-managed, the Flutter plugin states that it uses jq, though not as clearly as it could. The issue of a clear dependency list should be raised in the Flutter plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants