Hi!
I’m using an erlang dependency which fails with this message:
$ mix deps.compile cuttlefish
===> Unable to run post hooks for 'compile', command '{bad_app,getopt}' in namespace 'rebar_prv_escriptize' not found.
** (Mix) Could not compile dependency :cuttlefish, "/Users/fran/.asdf/installs/elixir/1.13.0-otp-25/.mix/rebar3
bare compile --paths /Users/fran/Programming/Elixir/elixir_riak_core/_build/test/lib/*/ebin" command failed.
Errors may have been logged above. You can recompile this dependency with "mix deps.compile cuttlefish",
update it with "mix deps.update cuttlefish" or clean it with "mix deps.clean cuttlefish"
This is what I have in my mix.exs:
defp deps do
[
{:cuttlefish,
git: "https://github.com/kyorai/cuttlefish.git", manager: :rebar3, tag: "v3.0.1"},
]
end
I’ve forked the repo and commented this line: {provider_hooks, [{post, [{compile, {default, escriptize}}]}]}. in said dependency’s rebar.config and it works just fine, is there another way to fix this, without using a fork?
I’m using Elixir 1.13.0 + OTP 25.
Thanks!