Am trying to deploy my app to Gigalixir after upgrading to phoenix 1.5.0-rc.0
but I get the following error.
* Updating plug_crypto (Hex package)
remote: Dependencies have diverged:
remote: * plug (Hex package)
remote: the dependency plug 1.8.3
remote:
remote: > In deps/plug_cowboy/mix.exs:
remote: {:plug, "~> 1.7", [env: :prod, hex: "plug", repo: "hexpm", optional: false]}
remote:
remote: does not match the requirement specified
remote:
remote: > In deps/phoenix/mix.exs:
remote: {:plug, "~> 1.10", [env: :prod, hex: "plug", repo: "hexpm", optional: false]}
remote:
remote: Ensure they match or specify one of the above in your deps and set "override: true"
remote: ** (Mix) Can't continue due to errors on dependencies
These are my deps
defp deps do
[
{:phoenix, "~> 1.5.0-rc.0", override: true},
{:phoenix_pubsub, "~> 2.0"},
{:phoenix_ecto, "~> 4.0"},
{:ecto_sql, "~> 3.1"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.1"}
]
end
Its a problem with the plug
dependency but am not sure how to fix it.