smpallen99 / ex_admin

ExAdmin is an auto administration package for Elixir and the Phoenix Framework
MIT License
1.2k stars 272 forks source link

Conflict - dependency resolution #270

Open mdsadiq opened 7 years ago

mdsadiq commented 7 years ago

I am trying out phoenix and examine for the first time, I am getting a hex resolution failure.

Failed to use "postgrex" because ecto (version 2.1.1) requires ~> 0.13.0 scrivener_ecto (versions 1.0.2 and 1.0.3) requires ~> 0.11.0 or ~> 0.12.0 mix.lock specifies 0.13.0

if i do {:scrivener_ecto, "~> 1.1.0",}, in mix.exs of phoenix , I get the following

Failed to use "scrivener_ecto" (version 1.1.0) because deps/ex_admin/mix.exs requires ~> 1.0.2 mix.exs specifies ~> 1.1.0

Is there a conflict in dependencies that's not covered

carakan commented 7 years ago

@mdsadiq I've had this problem, you only needs to remove {:scrivener_ecto, "~> 1.1.0"} if you added after show the first error and in the {:postgrex, "~> 0.13.0"}, you needs to add {:postgrex, ">= 0.13.0", override: true}, and run mix deps.get