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
I just tried to use capsule, capsule_ecto, and capsule_supplement in a project and got the following error:
Dependencies have diverged:
* capsule (Hex package)
the dependency capsule in mix.exs is overriding a child dependency:
> In mix.exs:
{:capsule, "~> 0.10.0", [env: :prod, hex: "capsule", repo: "hexpm"]}
> In deps/capsule_supplement/mix.exs:
{:capsule, [env: :prod, git: "https://github.com/elixir-capsule/capsule.git"]}
Ensure they match or specify one of the above in your deps and set "override: true"
** (Mix) Can't continue due to errors on dependencies
Shouldn't it be pulling capsule from Hex instead of GitHub?
The text was updated successfully, but these errors were encountered:
The reason it's pulling from github is likely that it's dependent on unreleased code, although it's been a while so I can't be sure. I agree it would be better to release a version the corresponds to latest capsule release, which is how it's handled in capsule_ecto.
I just tried to use
capsule
,capsule_ecto
, andcapsule_supplement
in a project and got the following error:Shouldn't it be pulling capsule from Hex instead of GitHub?
The text was updated successfully, but these errors were encountered: