Could not compile dependency :idna

Trying to migrate over from a source install to docker, but when I run ./docker-resources/manage.sh mix compile I get this error:

** (Mix) Could not compile dependency :idna, “/opt/akkoma/.mix/elixir/1-15/rebar3 bare compile --paths /opt/akkoma/_build/prod/lib/*/ebin” command failed. Errors may have been logged above. You can recompile this dependency with “mix deps.compile idna --force”, update it with “mix deps.update idna” or clean it with “mix deps.clean idna”

Ok, it seems like running ./docker-resources/manage.sh mix deps.update idna fixes it

ah yeah it’s possible that erlang versions changed and deps needed to be recompiled

if it happens again, mix deps.clean --all is a command that can help

1 Like