Skip to content

Using capsule and capsule_supplement causes dependency conflicts #13

@joeljuca

Description

@joeljuca

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions