credo icon indicating copy to clipboard operation
credo copied to clipboard

Dependency divergence on compile

Open fmarigarcia opened this issue 1 year ago • 1 comments

Environment

  • Credo version (mix credo -v): 1.7.6
  • Erlang/Elixir version (elixir -v): 1.16.2 OTP 26

What were you trying to do?

Run our scheduler app: mix run --no-halt

Expected outcome

App running correctly

Actual outcome

Unchecked dependencies for environment dev:

  • jason (Hex package) the :only option for dependency jason

    In /elixir/deps/credo/mix.exs: {:jason, "~> 1.1", [env: :prod, hex: "jason", repo: "hexpm", optional: false]}

    does not match the :only option calculated for

    In /elixir/deps/goth/mix.exs: {:jason, "~> 1.1", [env: :prod, hex: "jason", repo: "hexpm", optional: false]}

    Remove the :only restriction from your dep ** (Mix) Can't continue due to errors on dependencies

fmarigarcia avatar May 24 '24 14:05 fmarigarcia

I am not sure what the "problem" is ...

Goth has a requirement for :jason of ~> 1.1 and :credo of ~1.0 ...

Excuse my ignorance, but what is it you are asking us to do?

rrrene avatar Jun 02 '24 17:06 rrrene

I apologize for the age/inactivity on this issue. I should have done a better job at resolving this properly. 😥

Please feel free to re-open this issue at your discretion.

rrrene avatar Aug 11 '24 19:08 rrrene