-
Notifications
You must be signed in to change notification settings - Fork 123
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: potential issue of Installing erlang on Mac #266
Comments
@hugo-tubi Typically if you see an issue like this it is best to discuss at the plugin repo first to ensure it's not the plugin before raising in asdf core repo. I have moved the issue to the erlang plugin repo. |
Thanks @jthegedus! |
Just tried install 25.1.2, and it installed with no issues. Following is the installing logs for 25.1.2 (succeed) and 25.2 (failed)
NOTE: above install 25.1.2 succeed with exit status 0, and two more "clean up" output at the end. But not 25.2 |
I reproduced the issue after uninstall 25.1.2, the uninstall log:
After uninstalling, I cannot install 25.1.2 again. |
Found something: During the
This error is hidden during normal installation, because it want to hide normal outputs (end up also hidden useful errors) Line 32 in 0d402e6
I'm new to asdf, still digging into what/why is this "already registered". |
I found the reason of the original issue. It is because I uninstall erlang with
This make the kerl inside plugin erlang (
The re-installation would be ok. However, I think asdf should still able to handle the situations after a "bad" |
Thanks so much @hugo-tubi! I ran into the same issue. I made the mistake of running The issue was fixed for me by running:
|
Closing since #267 has been merged. |
Describe the Bug
I found re-install erlang is not working. Anyone else using macos can reproduce this issue? Or it just some issues of my machine.
Steps to Reproduce
Expected Behaviour
erlang 25.2 is installed.
Actual Behaviour
The (re)install step says greenly "Erlang/OTP 25.2 (asdf_25.2) has been successfully built"
BUT exits with status code 1.
asdf list erlang
says "No versions installed". Directory~/.asdf/installs/erlang/
is totally empty.Environment
OS: Darwin Hugo 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64 arm Darwin SHELL: GNU bash, version 3.2.57(1)-release (arm64-apple-darwin22) Copyright (C) 2007 Free Software Foundation, Inc. ASDF VERSION: v0.11.0-6a4f51a ASDF ENVIRONMENT VARIABLES: ASDF_DIR=/Users/hugo/.asdf ASDF INSTALLED PLUGINS: elixir https://github.com/asdf-vm/asdf-elixir.git master 1693b35 erlang https://github.com/asdf-vm/asdf-erlang.git master 0d402e6
asdf plugins affected (if relevant)
erlang
The text was updated successfully, but these errors were encountered: