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

bug: No such file or directory for installed plugin commands #1144

Closed
bcardarella opened this issue Jan 1, 2022 · 5 comments
Closed

bug: No such file or directory for installed plugin commands #1144

bcardarella opened this issue Jan 1, 2022 · 5 comments
Labels

Comments

@bcardarella
Copy link

Describe the Bug

I updated asdf via homebrew, currently on v0.9.0. When I run asdf help I see all of the plugins listed as such:

find: /Users/thatsme/.asdf/plugins/elixir/lib/commands: No such file or directory

I ran asdf plugin remove <plugin_name> for each plugin and confirmed via asdf help that the missing plugin commands are no longer listed. I then reinstall the plugins with asdf plugin install elixir and the same error as described above is being listed.

Steps to Reproduce

  1. Update to 0.9.0 via homebrew
  2. See the errors in asdf help about the missing plugin commands

Expected Behaviour

I wouldn't expect there to be any error messages from any of the asdf plugins

Actual Behaviour

The installed plugins are showing as errors in asdf help

Environment

MacOS 12.0.1

asdf plugins affected (if relevant)

No response

@bcardarella bcardarella added the bug label Jan 1, 2022
@bcardarella
Copy link
Author

I just did a complete removal of asdf in homebrew, closed my terminal session, and reinstalled. Then immediately added the erlang plugin and am getting the same error.

@bcardarella
Copy link
Author

I uninstalled from homebrew and reinstalled via Git. This appears to have resolved the issue. However I'm on asdf version v0.9.0-87137e4 for Git install and I don't know if the version difference is the real reason or if Brew/Git install is the difference maker.

@bcardarella
Copy link
Author

I believe this has been fixed already with #1102

Considering the confusion around this issue, as I've seen a few others issues about it reported and others out there are also dealing with it, I'd suggest minting a patch release of v0.9.1 for homebrew.

@mactkg
Copy link

mactkg commented Jan 5, 2022

As @bcardarella says, I installed the head version of asdf and it fixes this bug.

brew unlink asdf
brew install asdf --head

@alecho
Copy link

alecho commented Jan 7, 2022

As @bcardarella says, I installed the head version of asdf and it fixes this bug.

brew unlink asdf
brew install asdf --head

Confirming this worked for me as well.

@pre pre mentioned this issue Apr 6, 2022
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

3 participants