Getting error Could not compile dependency :mimerl

So what’s changed? How did you get it working? I’m very curious about compilation issues.

Can you please share with us what the actual proiblem was, such that people of the future are able to google the solution?

Yeah sure. I followed the instructions which you recommended above.

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).

2 Likes

It is impossible, not to love this forum. :heart:

1 Like

Server is up and running now

Off-topic, but it might be not the best idea to build and run your app on the same machine. It can potentially open you up to some vulnerabilities (like the instagram case where someone got access to the entire private network from an old build box), or create unnecessary issues like this one.

3 Likes