Trouble with GRiSP's robot demo (rebar3 fails)

I’m having trouble with the robot demo. When I run:
rebar3 grisp deploy -n robot -v 0.1.0

rebar3 fails with:

===> Verifying dependencies...
===> Analyzing applications...
===> Compiling robot
* Downloading pre-built OTP package (fa782b3c)
=WARNING REPORT==== 13-Feb-2022::21:45:32.247923 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"

===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`

Any suggestions? Any further info help?

2 Likes

Hi! I cannot immediately reproduce this, can you open an issue on GitHub and let us know which versions of Erlang and the Rebar 3 plug-in you use (by running rebar3 plugins list)? It would also be helpful with the full output from DIAGNOSTIC=1 rebar3 GRiSP deploy -n robot -v 0.1.0 :smiling_face:

2 Likes

The problem appears to be that I was using Erlang 24 (the default on Tumbleweed).

Did more background reading and installed Erlang 23.3.4.11 with asdf.
Have now successfully reached ===> Deployment done with the robot app.
Thanks! :sunny:

3 Likes

Awesome! We’re currently working on improving the tooling with regards to Erlang versions (including better warnings about version mismatches)

3 Likes

@rashid There’s now a version 2.2.0 of the Rebar 3 plug-in that correctly errors out when there’s a version mismatch between your desired OTP version and what is available as a package (or custom built OTP). Please try it and see if it improves your experience!

2 Likes