First recompile of phoenix app after update to 1.5.0 fails with:
** (Mix) Could not compile dependency :erlware_commons, "/home/stefan/.mix/rebar3 bare compile --paths "/home/stefan/phoenix_deployment/pan/_build/prod/lib/*/ebin"" command failed.
You can recompile this dependency with "mix deps.compile erlware_commons",
update it with "mix deps.update erlware_commons"
or clean it with "mix deps.clean erlware_commons"
I believe to have seen this earlier and tried several ways to fix it:
mix do local.rebar_build and dev and compiled again MIX_ENV=prod mix do deps.get, compileMIX_ENV=prod deps.update erlware_commonsMIX_ENV=prod mix deps.clean erlware_commons && MIX_ENV=prod mix do deps.get, compileMIX_ENV=prod mix deps.compile erlware_commonsthe last step gives a bit more output:
===> Compiling erlware_commons
===> Compiling src/ec_semver_parser.erl failed
src/ec_semver_parser.erl:15: export_all flag enabled - all functions will be exported
Any tipps how I could proceed or what I am doing wrong are welcome!
OK, so this has nothing todo with Elixir.
The solution finally was to update erlware_commons, this was held back by relx.
So updating both in mix.exs helped:
{:relx, "~>3.23.1"},
{:erlware_commons, "~> 1.0"},
Most helpful comment
OK, so this has nothing todo with Elixir.
The solution finally was to update erlware_commons, this was held back by relx.
So updating both in mix.exs helped: