I currently have an umbrella application with 5 child apps. One of the applications defines uuid
as a test dependency. Another application defines sentry
as a general dependency. sentry
defines uuid
as a general dependency.
When I compile in dev
I get the following error:
Unchecked dependencies for environment dev:
* uuid (Hex package)
the dependency is not locked. To generate the "mix.lock" file run "mix deps.get"
** (Mix) Can't continue due to errors on dependencies
If I remove sentry
the issue goes away. If I compile using MIX_ENV=test
the issue goes away. If I define uuid
as a general dependency the issue goes away.
It seems that me defining uuid
as a test dependency and sentry
defining uuid
as a general dependency is creating some sort of conflict.
Has anybody experienced this before? Does this seem like a bug or intended behavior? It seems concerning to me that an umbrella applications dependencies can be in conflict with the dependencies of a dependency based on it’s environment definition. This isn’t even a version issue. Both sentry
and my application define uuid
as ~> 1.0
.