Fran
Can't compile Erlang dependency
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!
Most Liked
Fran
That issue is actually mine, they moved the issue to a discussion but I haven’t seen any relevant answers for now.
1
Popular in Questions
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
Hi there, I'm working through my first release with elixir/phoenix. I've built a release with distillery and found that it crashes when I...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
Hey guys.
I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
Hi,
I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
Hey,
I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project.
Baby step #1 is extracting the number ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Other popular topics
Hello, I get Persian date from my client and convert it to normal calendar like this:
def jalali_string_to_miladi_english_number(persi...
New
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
In Ruby, I can go:
User.find_by(email: "foobar@email.com").update(email: "hello@email.com")
How can I do something similar in Elixir? ...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New







