danielberkompas/ex_twilio

Hex dependency resolution issues

aesmail opened this issue · 1 comments

I'm trying to use ex_twilio v0.1.7 with phoenix v1.1.4
There's an issue with poison versions that both apps require:

Conflict on poison from 1.5.0 to 1.5.2
  ecto 1.1.5: ~> 1.0
  ex_twilio 0.1.7: >= 2.0.0
  phoenix 1.1.4: ~> 1.5 or ~> 2.0
  phoenix_ecto 2.0.1: ~> 1.3

Conflict on poison from 2.0.0 to 2.1.0
  phoenix 1.1.4: ~> 1.5 or ~> 2.0
  phoenix_ecto 2.0.0, 2.0.1: ~> 1.3

** (Mix) Hex dependency resolution failed, relax the version requirements or unlock dependencies

Ecto 2.0 will rely on the newer Poison. In the meantime, you can override the dependency by adding poison to your mix dependencies like so:

{:poison, "~> 2.0", override: true}

That should solve the problem.