You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/chrismccord/phoenix_live_view_example
cd phoenix_live_view_example
rm mix.lock
mix deps.get
The last command will fail with the following output:
* Getting phoenix_live_view (https://github.com/phoenixframework/phoenix_live_view.git)
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 6260 (delta 0), reused 11 (delta 0), pack-reused 6249
Dependencies have diverged:
* phoenix (Hex package)
the dependency phoenix in mix.exs is overriding a child dependency:
> In mix.exs:
{:phoenix, "~> 1.4.9", [env: :prod, repo: "hexpm", hex: "phoenix"]}
> In deps/phoenix_live_view/mix.exs:
{:phoenix, "~> 1.4.12", [env: :prod, git: "https://github.com/phoen
ixframework/phoenix.git", branch: "v1.4"]}
Ensure they match or specify one of the above in your deps and set "o
verride: true"
** (Mix) Can't continue due to errors on dependencies
The text was updated successfully, but these errors were encountered:
To reproduce:
The last command will fail with the following output:
The text was updated successfully, but these errors were encountered: