Building Erlang Projects Offline
Joseph Lloyd
josarlo84@REDACTED
Thu Feb 3 23:38:38 CET 2022
Yep, that was my problem. I was running OTP 21, when I downgraded rebar3
it worked. Rookie error. Thank you for your help.
On Thu, Feb 3, 2022 at 2:04 PM Tristan Sloughter <t@REDACTED> wrote:
> What version of Erlang are you using?
>
> Based on that error my guess is your Erlang version is too old for the
> latest pre-built binary and will either have to build from source or
> download the escript of an old version
> https://github.com/erlang/rebar3/releases
>
> On Thu, Feb 3, 2022, at 13:51, Joseph Lloyd wrote:
>
> Clearly, I am messing up somewhere. This is our first project, and right
> now it is super simple: no dependencies. I've tried downloading a
> pre-built rebar3, however, when I run it on an internal node, I get the
> following error:
>
> escript: exception error: undefined function rebar3:main/1
> in function escript:run/2 (escript.erl, line 758)
> in call from escript:start/1 (escript.erl, line 277)
> in call from init:start_em/1
> in call from init:do_boot/3
>
> Are there dependencies that are needed outside of my own project that
> rebar3 needs? If so, how do I locate them to copy them into a _checkouts
> directory?
>
> Thanks,
>
> Joseph
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20220203/5f58fc31/attachment.htm>
More information about the erlang-questions
mailing list