QuyenDoan

QuyenDoan

Thanks for pointing out this to me. Yes, my problem is my mix.exs was not saved after I added the " {:neotoma, “~> 1.7.3”, manager: :rebar3, override: true}, ". It took me a day to find out hahaha, I am using Visual Studio Code and I remember it 's autosaved without Command + S, but in this case I have to press Command +S to save the new update in mix.exs file. One a gain many thanks @silverdr ^^

2
Post #11
pepicrft

pepicrft

Hi :wave:
Following the above suggestion solved my issue, but since I’m doing it from a package that I want to publish in Hex, I get the following error:

** (Mix) Can't build package with overridden dependency neotoma, remove `override: true`

If I remove the override I get the following one:

Unchecked dependencies for environment dev:
* neotoma (Hex package)
  the dependency neotoma in mix.exs is overriding a child dependency:

  > In mix.exs:
    {:neotoma, "~> 1.7.3", [env: :prod, repo: "hexpm", hex: "neotoma"]}

  > In deps/slime/mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, hex: "neotoma", repo: "hexpm", optional: false]}

  Ensure they match or specify one of the above in your deps and set "override: true"1

I’m a new to the ecosystem so I’m struggling a bit to address the above issue. Any suggestion is highly appreciated :pray:

0
Post #12
— All posts loaded —