<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>What version of Erlang are you using?<br></div><div><br></div><div>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 <a href="https://github.com/erlang/rebar3/releases">https://github.com/erlang/rebar3/releases</a></div><div><br></div><div>On Thu, Feb 3, 2022, at 13:51, Joseph Lloyd wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div dir="ltr"><div>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:<br></div><div><br></div><div><div>escript: exception error: undefined function rebar3:main/1<br></div><div>  in function  escript:run/2 (escript.erl, line 758)<br></div><div>  in call from escript:start/1 (escript.erl, line 277)<br></div><div>  in call from init:start_em/1 <br></div><div>  in call from init:do_boot/3<br></div></div><div><br></div><div>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?<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Joseph<br></div></div></div></blockquote><div><br></div></body></html>