Open jvantuyl opened 1 year ago
It's still happening to me.
ASDF INSTALLED PLUGINS:
elixir https://github.com/asdf-vm/asdf-elixir.git master 1693b35
erlang https://github.com/asdf-vm/asdf-erlang.git master 963387b
nodejs https://github.com/asdf-vm/asdf-nodejs.git master c9e5df4
ruby https://github.com/asdf-vm/asdf-ruby.git master d50fae2
However, I use Fish so maybe that's the reason? The plugin seems generally incompatible with Fish. Everything works on ZSH.
I somehow got myself into a situation where an installation was listed in
~/.asdf/plugins/erlang/kerl-home/otp-installations
but was not actually installed. I couldn't tell you how I got it that way. Prior to this whole exercise, I hadn't even looked in~/.asdf
before.Regardless, when in this situation,
kerl
was succeeding to build but failing to install. Since theerlang
plugin suppresses all output, I was seeing this:That looks successful, right? However, my prompt tells me when something returns a failure and it was definitely exiting with an error code.
When I commented out the
>/dev/null 2>&1
from line 32 ofbin/install
(here), I saw that it was failing with the message:This was a pretty easy fix once I knew that and found the
otp-installations
file. But it was pretty confusing up to this point, since it looks successful.Is there any way we can either not eat that error or at least display a better error message if it fails?
Here's the output of
asdf info
, in case it helps: