kostonstyle

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

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

kostonstyle

It works :slight_smile: Thanks so much.
What does override: true mean?

kostonstyle

kostonstyle

I read the doc

It is not clear for me.
Thanks

hubertlepicki

hubertlepicki

did you do what the error messages above suggest?

Where Next?

Popular in Questions Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: The documentation above suggests that while ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54250 245
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New

We're in Beta

About us Mission Statement