Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to install in rebar3 #163

Closed
ityonemo opened this issue Apr 11, 2023 · 2 comments
Closed

fails to install in rebar3 #163

ityonemo opened this issue Apr 11, 2023 · 2 comments

Comments

@ityonemo
Copy link

adding the dependency in a rebar3 project using:

{plugins, [rebar_mix]}.
{provider_hooks, [
  {post, [{compile, {mix, consolidate_protocols}}]}
]}.
{deps, [jason]}.

fails due to the error: Dep decimal has invalid version ~> 1.0 or ~> 2.0

is this a Jason problem or is this a rebar3 problem?

@michalmuskala
Copy link
Owner

This looks like a rebar3 problem. ~> 1.0 or ~> 2.0 is a valid version constraint in mix

@filmor
Copy link

filmor commented Apr 29, 2024

This is "fixed" in rebar3 3.23, erlang/rebar3#2840.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants