asdf-vm / asdf-elixir

Elixir plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
473 stars 70 forks source link

Checking asdf list-all elixir is failed #128

Closed ariandanim closed 5 months ago

ariandanim commented 1 year ago

If some one try type asdf list-all elixir then showing error like below : No compatible versions available (elixir )

You just type asdf plugin-update elixir

It should fixed the showing error above

heru commented 1 year ago

okay. thanks @ariandanim

unixc3t commented 1 year ago

It's doesn't work for me

ariandanim commented 1 year ago

It's doesn't work for me

what is your current spesification OS ?

unixc3t commented 1 year ago

what is your current spesification OS ?

ProductName: Mac OS X ProductVersion: 10.15.4 BuildVersion: 19E287

SHELL: zsh 5.7.1 (x86_64-apple-darwin19.0)

BASH VERSION: 3.2.57(1)-release

ASDF VERSION: v0.12.0

ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/Users/rudy/.asdf ASDF_DIR=/usr/local/opt/asdf/libexec ASDF_CONFIG_FILE=/Users/rudy/.asdfrc

ASDF INSTALLED PLUGINS: clojure https://github.com/asdf-community/asdf-clojure.git master 490074c elixir https://github.com/asdf-vm/asdf-elixir.git master a4c42e1 erlang https://github.com/asdf-vm/asdf-erlang.git master 6744df7 ruby https://github.com/asdf-vm/asdf-ruby.git master 6fc8d03

asdf list

Clojure
1.11.1.1200 elixir 1.14.1-otp-25 1.14.1 1.14.2-otp-25 1.14.2 erlang 24.1.7 25.1.2 26.0.2 ruby 3.0.3 3.1.2 3.2.2

unixc3t commented 1 year ago

It's doesn't work for me

what is your current spesification OS ?

I have to download the 1.15.5.zip and unzip it to .asdf/install/elixir use the asdf global elixir 1.15.5 or edit the .tool-versions file

leonardorame commented 5 months ago
asdf plugin-update elixir
usage: git ls-remote [--heads] [--tags]  [--upload-pack=<exec>]
                     [-q | --quiet] [--exit-code] [--get-url] [<repository> [<refs>...]]
Location of elixir plugin: /home/leonardo/.asdf/plugins/elixir
Updating elixir to 
From https://github.com/asdf-vm/asdf-elixir
 * branch            HEAD       -> FETCH_HEAD
fatal: Needed a single revision

Any hint?

Stratus3D commented 5 months ago

@leonardorame I'd suggest removing your elixir plugin and reinstalling it. It appears your local asdf-elixir repo got into a bad state somehow.

asdf plugin remove elixir
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git

I'm closing this issue as I believe the original problem as been fixed.