Skip to content

No such file or directory happend when I installed asdf by Homebrew #188

@kackey0-1

Description

@kackey0-1

Issue

No such file or directory happend when I installed asdf through brew

➜  java asdf install java corretto-17.0.4.9.1 
/Users/xxxxx/.asdf/plugins/java/bin/install: line 3: /Users/xxxxx/.asdf/lib/utils.bash: No such file or directory
##################################################################################################################################################################################################### 100.0%
amazon-corretto-17.0.4.9.1-macosx-aarch64.tar.gz
amazon-corretto-17.0.4.9.1-macosx-aarch64.tar.gz: OK
/Users/xxxxx/.asdf/plugins/java/bin/install: line 130: get_asdf_config_value: command not found

How to resolve

load utils.bash from where it located.

source "${ASDF_DIR:-$(dirname $(dirname $(cut $' ' -f 2 "$(which asdf)" | tail -n 1 | sed -e 's/"//g')))}/lib/utils.bash"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions