kostonstyle
Dependencies errors: Unchecked dependencies for environment test:
Hi all
I’ve got following dependencies errors:
Unchecked dependencies for environment test:
* gettext (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* poolboy (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* poison (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* comeonin (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* bypass (Hex package)
the dependency bypass in mix.exs is overriding a child dependency:
> In mix.exs:
{:bypass, "~> 0.6.0", [env: :prod, hex: :bypass, only: :test]}
> In /home/anujit/elixir/weight_protocol/apps/sap_odata_service/mix.exs:
{:bypass, [env: :prod, git: "https://github.com/PSPDFKit-labs/bypass.git", only: :test]}
Ensure they match or specify one of the above in your deps and set "override: true"
* cowboy (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix_html (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* httpotion (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix_pubsub (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* phoenix (Hex package)
the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
** (Mix) Can't continue due to errors on dependencies
What am I doing wrong?
Thanks
Marked As Solved
hubertlepicki
When you specify “override: true”, the resolution dependency done by mix will force the use of version that you specify in mix.exs file. It will ignore versions required by other dependencies in case the conflict is detected.
This obviously mean you should use this with caution. Using override: true it is perfectly possible to force a dependency that is incompatible with one of the other libraries. The result may be that your project won’t compile anymore, or - worse - that it will but something will malfunction because you forced incompatible library version.
Also Liked
kostonstyle
It works
Thanks so much.
What does override: true mean?
kostonstyle
hubertlepicki
did you do what the error messages above suggest?
kostonstyle
Yes I run:
mix deps.get
Running dependency resolution...
hubertlepicki
I meant this part.








