Closed Olivier-Boudeville closed 1 year ago
OTP25, right? You need to enable the new compiler features as explained in #314.
ERL_FLAGS="-enable-feature all" rebar3 format
Thanks Brujo, that did indeed the trick, both as:
ERL_FLAGS="-enable-feature all" rebar3 format
and as
ERL_FLAGS="-enable-feature all" rebar3 as release escriptize
I expect it to become a pretty common error that will be reported again and again, maybe there would be a way of adding that flag automatically or at least check that the maybe feature is available when running rebar3 in this context?
Anyway I close this issue as this is fixed for me. Thanks again!
Hi,
I was unable to build rebar3_format properly from a fresh, unchanged clone (with Erlang 25.1 on Arch Linux, if it matters):
Then:
I tried also to remove ~/.cache/rebar/hex and ~/.cache/rebar3/ with no luck.
Thanks!