asdf-vm / asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
https://asdf-vm.com/
MIT License
21.13k stars 763 forks source link

bug: Bug Report: Unable to List Elixir Versions in ASDF #1758

Closed josesfjunior closed 1 month ago

josesfjunior commented 1 month ago

Describe the Bug

When I run the command asdf list-all elixir, it returns the message No compatible versions available (elixir ). I noticed there is a space after the word "elixir". As a result, I cannot see the available Elixir versions in ASDF.

Steps to Reproduce

  1. Run asdf list-all elixir in the terminal.
  2. Observe the output message.

Expected Behaviour

The command should list all available Elixir versions without any error.

Actual Behaviour

The command returns No compatible versions available (elixir ) with an extra space after "elixir".

Environment

OS:
Darwin Mac.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64

SHELL:
fish, version 3.5.0

BASH VERSION:
3.2.57(1)-release

ASDF VERSION:
v0.14.0-ccdd47d

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/josejunior/.asdf
ASDF_DIR=/Users/josejunior/.asdf
ASDF_CONFIG_FILE=/Users/josejunior/.asdfrc

ASDF INSTALLED PLUGINS:
cmake                        https://github.com/asdf-community/asdf-cmake.git main d631481
elixir                       https://github.com/asdf-vm/asdf-elixir.git master d08f506
erlang                       https://github.com/asdf-vm/asdf-erlang.git master 0463971
gleam                        https://github.com/vic/asdf-gleam.git master b45a651
golang                       https://github.com/kennyp/asdf-golang.git master cc8bc47
gradle                       https://github.com/rfrancis/asdf-gradle.git master 9a2ca80
grails                       https://github.com/weibemoura/asdf-grails.git master ba222b0
groovy                       https://github.com/weibemoura/asdf-groovy.git master e33491d
java                         https://github.com/halcyon/asdf-java.git master ecded69
maven                        https://github.com/halcyon/asdf-maven.git master 625d6e5
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master 05f99c3
php                          https://github.com/asdf-community/asdf-php.git master 1eaf4de
ruby                         https://github.com/asdf-vm/asdf-ruby.git master a4c7dc7

asdf plugins affected (if relevant)

No response

addstar34 commented 1 month ago

Run asdf plugin-update elixir and then it should work.

josesfjunior commented 1 month ago

Thank you for your response! The solution worked perfectly. I appreciate your help!