Join GitHub today
Mix sometimes doesn't start all the applications #7930
OTP 21.0.2, both built from source
We have an umbrella consisting of multiple apps with dependencies on each other.
When I do a clean compilation and try
So I tried to start one of the apps separately and noticed that not everything was started.
When I switch back to Elixir 1.6.6 I get this output for the same command
This is the mix file
Now when I switch back to 1.7.0-rc.0, it will start all the applications.
I checked the .app files and noticed this difference
I couldn't find anything about this in the changelog, so I'm thinking this is a regression.
Maybe this is more helpful?
It fails after adding poison to dependecies.
It is an umbrella project. If you run
@hectorsq That's because you are listing poison at the root. :) Look at what these comments say:
Anything at the root will not be available to children.
@Math3v your app has a different error that looks like this (at least for me on v1.8):
The error is not nicely formatted because wallaby is being started dynamically. If you remove
With the relevant bits being:
@josevalim, Thanks! Seems that my goal in life is to make you waste time.
I fixed the project at https://github.com/hectorsq/mx-test and added another web app (br_web) under the umbrella. Now I have two web apps, mx_web depends on poison, br_web does not depend on poison.
If you run mix phx.server at the root both web apps start.
** (Mix) Could not start application poison: could not find application file: poison.app
Am I missing something?