darnahsan
Mix failing (Mix) Could not compile dependency
Getting wierd failures on a docker build today. Not sure if this is rebar3 issue or some connectivity issue to hex.pm as I can build the project fine from my local but fails in Hetzner. It is docker build so everything is generated in a container
** (Mix) Could not compile dependency :idna, "/root/.mix/rebar3 bare compile --paths="/src/ultronex/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile idna", update it with "mix deps.update idna" or clean it with "mix deps.clean idna"
** (Mix) Could not compile dependency :mimerl, "/root/.mix/rebar3 bare compile --paths="/src/ultronex/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile mimerl", update it with "mix deps.update mimerl" or clean it with "mix deps.clean mimerl"
Most Liked
ajose01
Just a quick note for anyone coming into this thread late (like me). In the linked issue, there’s a recommendation to add a swap space. I did this on a Digitalocean droplet and it solved this issue.
darnahsan
turns out compiling idna is a super CPU intense process and the instance kept hitting 100% and compile failed. ![]()
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









