Closed kivra-pauoli closed 6 months ago
This seems to be ending in a crash, in rebar3_ex_doc.erl
's ex_doc/3
:
{error, {_Code, Errors}} ->
rebar_api:error("~ts", [Errors]),
?RAISE({ex_doc, Errors})
Since Errors
is an empty list we get no output.
Running the command by itself is ending in a segmentation fault. Will try to dig deeper.
This seems to go away if/when you delete _build
. 🤷
Edit: not quite true. I used OTP 26.2.2 before, had Hex (local) cache working Ok, then ran rebar3_ex_doc
(with 26.2.3) and got
===> Fetching rebar3_ex_doc v0.2.22
===> Download error, using cached file at ~/.cache/rebar3/hex/hexpm/packages/rebar3_ex_doc-0.2.22.tar
Still runs Ok, but only if you have local cache.
Yeah, so this happens, for me, under the following circumstances:
rebar
3.22.1 compiled with OTP 24 (which is what we get by default)A couple of solutions come to mind:
rebar3
locally with e.g. Erlang/OTP 26.2.3
Output for 26.2.2
Output for 26.2.3
Not sure where those extra lines (where
===>
is coloured red) are coming from... 🤔Just wanted to drop this here before I dig further into the code.