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

Problem compiling Jose 1.11.8 with Rebar3 #162

Closed
badlop opened this issue Apr 8, 2024 · 2 comments
Closed

Problem compiling Jose 1.11.8 with Rebar3 #162

badlop opened this issue Apr 8, 2024 · 2 comments

Comments

@badlop
Copy link
Contributor

badlop commented Apr 8, 2024

Congratulations for the new Jose release!

I see a problem compiling Jose 1.11.8 with Rebar3.

It worked correctly with versions 1.11.5 and 1.11.6:

rebar3 new app myapp5
cd myapp5
vim rebar.config
## setup: {deps, [{jose, "1.11.5"}]}.
rebar3 compile
===> Verifying dependencies...
===> Fetching jose v1.11.5
===> Analyzing applications...
===> Compiling jose
===> Analyzing applications...
===> Compiling myapp

However, now that poison is declared as an optional dependency, compilation fails:

rebar3 new app myapp8
cd myapp8
vim rebar.config
## setup: {deps, [{jose, "1.11.8"}]}.
rebar3 compile
===> Verifying dependencies...
===> Fetching jose v1.11.8
===> Fetching dialyxir v1.4.3
===> Fetching poison v3.1.0
===> Fetching erlex v0.2.6
===> Compiling poison
===> Error building application poison:
 No project builder is configured for type mix

Is there some way to disable that optional dependency? Or some other way to compile the new Jose release using Rebar3? Thanks!

potatosalad added a commit that referenced this issue Apr 8, 2024
* Fixes
  * Change Elixir dependency on `dialyxer` to only be used in `dev` and `test`, thanks to [@requestben](https://github.com/requestben) and [@dvic](https://github.com/dvic); see [#162](#162) and [#163](#163).
  * `rebar3` upgrade errors fixed; see [#160](#160) and [#163](#163).
@potatosalad
Copy link
Owner

@badlop Thanks for reporting! This should be fixed in jose 1.11.9.

@badlop
Copy link
Contributor Author

badlop commented Apr 8, 2024

Right, problem solved, thanks! Now Jose 1.11.9 is compiled correctly using Rebar3 and Erlang/OTP 24.0 up to 27.0-rc2 :)

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

2 participants