简体   繁体   中英

Getting error Could not compile dependency :mimerl

(Mix) Could not compile dependency :mimerl, "/home/ubuntu/.mix/rebar3
bare compile --paths "/var/www/qserv/elixirbackend/_build/dev/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"

I am getting this error on my server. Everything was working perfectly fine but after restarting my server, started facing the above mentioned issue.

Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.6.3 (compiled with OTP 19)

I followed the instructions mentioned by Elixir forum user

ubuntu@ip-172-31-27-178:/var/www/qserv/elixir-backend$ sudo rm -rf /home/ubuntu/.mix/rebar3
ubuntu@ip-172-31-27-178:/var/www/qserv/elixir-backend$ mix local.rebar --force

and Then I also changed git permissions which I noticed while running mix phx.server

warning: unable to access '/home/ubuntu/.config/git/ignore': Permission denied warning: unable to access '/home/ubuntu/.config/git/attributes': Permission denied

So, basically the problem was somehow I messed up permissions(I dont remember/know exactly how).

Credit goes to Norbert Melzer elixir forum user( Complete post ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM