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

aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
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
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New

Other popular topics Top

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
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
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
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New

We're in Beta

About us Mission Statement