Error reading file rebar.config: 32: bad term when starting newly generated Nitrogen app

@gumm
I’m trying to start a freshly created Nitrogen project and am met with the following error when I run make run_dev:

===> Error reading file rebar.config: 32: bad term
make: *** [Makefile:71: run_dev] Error 1

I am using the default rebar config with a fresh new app:

% vim:ts=4 sw=4 et ft=erlang

%% These provider_hooks (appup, tar, etc) allow live upgrading the release
{provider_hooks, [
    {pre, [{tar, {appup, tar}}]},
    {post, [
        {compile, {appup, compile}},
        {clean, {appup, clean}}
    ]}
]}.

{cover_enabled, true}.

{erl_opts, [
    %% We want debug_info so that the behaviors are loaded
    debug_info
]}.

{pre_hooks, [
    %% On *nix:
    %%   1) Process any nitrogen plugins
    %%   2) establish or link the static directory (from the nitrogen_core files)
    %%   3) Combine all the etc/*.config files together into one big config file
    %%      that is processed and loaded in the relx rules below
    %%      (the file is named autogenerated.config.all)
    {"linux|bsd|darwin|solaris",compile,"./do-plugins.escript"},
    {"linux|bsd|darwin|solaris",compile,"./copy_static.escript link"},
    {"linux|bsd|darwin|solaris",compile,"etc/assemble_config.escript etc etc/autogenerated.config.all"},
    {"win32", compile, "pre_compile.cmd"}
]}.

{relx, [{release, {ookma-kyi, git}, [
            sasl,
            {mimetypes, load},
            {sync, load},
            ookma-kyi
        ]},
        {sys_config, "etc/autogenerated.config.all"},
        {vm_args, "etc/vm.args"},
        {dev_mode, true},
        {mode, dev},
        {include_erts, false},
        %% Nitrogen requires debug_info or all behaviors will fail.
        {debug_info, keep}, 
        {extended_start_script, true},
        {overlay, [
            {copy, "priv", "priv"}
%            {copy, "site", "site"}
        ]}
       ]
}.

%% This rule is for backwards compatibility with Nitrogen 2. By uncommenting
%% this rule, it will add some redundant class names to the HTML generated
%% element. For example, this will ensure that a #textbox{} element will be
%% produce HTML with a 'textbox' class.
%% If you change this value, you'll need to run a `make clean`
% {overrides, [
%     {add, nitrogen_core, [
%         {erl_opts, [
%             {d, 'DO_ELEMENT_CLASSES'}
%         ]}
%     ]}
% ]}.

{shell, [
%     {apps, nitrogen},
%     {vm_args, "etc/vm.args"}
]}.

{plugins, [
    rebar3_run,
    %rebar3_appup_plugin
    %% this 'develop' version is needed until the newer version is published
    {rebar3_appup_plugin, {git, "https://github.com/lrascao/rebar3_appup_plugin", {branch, develop}}}
]}.

{deps, [
    mimetypes,
    %{nitrogen_core, {git, "https://github.com/nitrogen/nitrogen_core", {branch, master}}},
    {nitrogen_core, "~> 3.0.0-alpha"}, %% use nitrogen from hex
    sync
]}.

Here is line 32 for reference {relx, [{release, {ookma-kyi, git}, [.

Any ideas?
``

Just a guess: the hyphen.

Wrap the hyphenated term in single quotes, thus: 'ookma-kyi'.

2 Likes

Replaced the - with an _ and still getting errors:

user@NJP1561P:~/ookma_kyi$ make run_dev
rebar3.mk: rebar3 not found! (in either the local directory, or in the PATH)
rebar3.mk: Would you like to clone the rebar3 repo and and build it this local project?
rebar3.mk:  * Latest release: 3.25.0 (REBAR_LATEST_VERSION)
rebar3.mk:  * Release to download: 3.25.0 (REBAR_VERSION)
rebar3.mk:  * From Github (REPO_SVC_NAME): erlang/rebar3 (REPO)
rebar3.mk:    URL: https://github.com/erlang/rebar3.git (REPO_URL)
 ===> Proceed to clone and build rebar3 based on the above? [Y/N] y
make[1]: Entering directory '/home/user/ookma_kyi'
rebar3.mk: Fetching and compiling rebar3 (3.25.0) for this local project...
Evaluating config script "/tmp/rebar3_b5c91461154767ede7c39cf623379cee/_build/default/lib/rebar/src/rebar.app.src.script"
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling cf
===> Compiling cth_readable
===> Compiling certifi
===> Compiling eunit_formatters
===> Compiling getopt
===> Compiling providers
===> Compiling bbmustache
===> Compiling ssl_verify_fun
===> Compiling relx
===> Compiling erlware_commons
===> Compiling rebar
===> Verifying dependencies...
===> Cleaning out bbmustache...
===> Cleaning out certifi...
===> Cleaning out cf...
===> Cleaning out cth_readable...
===> Cleaning out erlware_commons...
===> Cleaning out eunit_formatters...
===> Cleaning out getopt...
===> Cleaning out providers...
===> Cleaning out rebar...
===> Cleaning out relx...
===> Cleaning out ssl_verify_fun...
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling cf
===> Compiling cth_readable
===> Compiling certifi
===> Compiling eunit_formatters
===> Compiling getopt
===> Compiling providers
===> Compiling bbmustache
===> Compiling ssl_verify_fun
===> Compiling relx
===> Compiling erlware_commons
===> Compiling rebar
===> Building escript for rebar...
rebar3.mk: Installing rebar3 into your project's directory...
rebar3.mk: Cleaning up...
make[1]: Leaving directory '/home/user/ookma_kyi'
===> Fetching rebar3_run v0.5.0
make[1]: Entering directory '/home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src'
make[1]: cc: No such file or directory
make[1]: *** [Makefile:69: /home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src/rebar3_run.o] Error 127
make[1]: Leaving directory '/home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src'
===> Hook for compile failed!

===> Errors loading plugin rebar3_run. Run rebar3 with DEBUG=1 set to see errors.
===> Fetching rebar3_appup_plugin (from {git,"https://github.com/lrascao/rebar3_appup_plugin",
                               {branch,develop}})
===> Fetching bbmustache v1.12.2
===> Fetching string_compat v0.0.1
===> Analyzing applications...
===> Compiling string_compat
===> Compiling bbmustache
===> Compiling rebar3_appup_plugin
make[1]: Entering directory '/home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src'
make[1]: cc: No such file or directory
make[1]: *** [Makefile:69: /home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src/rebar3_run.o] Error 127
make[1]: Leaving directory '/home/user/ookma_kyi/_build/default/plugins/rebar3_run/c_src'
===> Hook for compile failed!

===> Errors loading plugin rebar3_run. Run rebar3 with DEBUG=1 set to see errors.
===> Verifying dependencies...
===> Fetching cowboy v2.10.0
===> Fetching nitrogen_core v3.0.0-alpha.13
===> Fetching sync v0.4.1
===> Fetching canister v0.1.1
===> Fetching cowlib v2.12.1
===> Fetching erlang_ds v0.4.1
===> Fetching rebar3_dirs v0.1.0
===> Fetching rebar3_hex v7.0.11
===> Fetching hex_core v0.10.3
===> Fetching verl v1.1.1
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling rebar3_dirs
===> Fetching fs v6.1.1
===> Fetching pc v1.15.0
===> Analyzing applications...
===> Compiling pc
===> Fetching nitro_cache v0.5.0
===> Fetching nitro_qrcode v1.1.0
===> Fetching nprocreg v0.3.0
===> Fetching qdate v0.7.3
===> Fetching ranch v1.8.0
===> Fetching rekt v0.1.0
===> Fetching simple_bridge v2.3.1
===> Fetching erlware_commons v1.6.0
===> Fetching meck v0.9.2
===> Fetching mutagen v0.1.0
===> Skipping nitro_cache v0.4.1 as an app of the same name has already been fetched
===> Fetching qdate_localtime v1.2.1
===> Fetching rebar3_dirs v0.1.0
===> Fetching cf v0.3.1
Generating compatibility for simple_bridge...
...?HASH/1 => "crypto:hash(sha, Data)"
...?MAPS_FILTER/2 => "maps:filter(Pred, Map)"
...?RAND_UNIFORM/1 => "rand:uniform(Max)"
...?PARSE_QS/1 => "uri_string:dissect_query(String)"
...no changes needed to "include/compat.hrl". Skipping writing new file
Generating qdate_localtime module: tz_index.erl
Generating compatibility macros...
...?WF_ENCRYPT will use: "crypto:crypto_one_time(aes_128_cbc, Key, IV, Data, true)"
...?WF_DECRYPT will use: "crypto:crypto_one_time(aes_128_cbc, Key, IV, Data, false)"
...?WF_HASH will use:    "crypto:hash(sha, Data)"
...?WF_UNIQUE will use:  "erlang:unique_integer([positive])"
...?WF_RAND_UNIFORM/1 will use: "rand:uniform(Max)"
...?WF_RAND_UNIFORM/2 will use: "(rand:uniform(Max-Min)+Min-1)"
...?WF_PARSE_QS/1 will use: "uri_string:dissect_query(String)"
...no changes needed to "include/compat.hrl". Skipping writing new file
===> Analyzing applications...
===> Compiling simple_bridge
===> Compiling fs
===> Compiling sync
===> Compiling rekt
===> Compiling qdate_localtime
    β”Œβ”€ _build/default/lib/qdate_localtime/src/localtime_dst.erl:
    β”‚
 15 β”‚  -compile([export_all]).
    β”‚   ╰── Warning: export_all flag enabled - all functions will be exported


===> Compiling cf
===> Compiling erlware_commons
===> Compiling qdate
===> Compiling mutagen
===> Compiling nitro_cache
===> Compiling nprocreg
===> Compiling nitro_qrcode
===> Compiling rebar3_dirs
===> Compiling meck
===> Compiling erlang_ds
     β”Œβ”€ _build/default/lib/erlang_ds/src/ds_syntax.erl:
     β”‚
 227 β”‚  save_tokens(Tokens) ->
     β”‚  ╰── Warning: function save_tokens/1 is unused


===> Compiling canister
    β”Œβ”€ _build/default/lib/canister/src/canister.erl:
    β”‚
 25 β”‚  -compile(export_all).
    β”‚   ╰── Warning: export_all flag enabled - all functions will be exported


===> Compiling nitrogen_core
    β”Œβ”€ _build/default/lib/nitrogen_core/src/lib/nitro_mochinum.erl:
    β”‚
 31 β”‚  digits(-0.0) ->
    β”‚  ╰── Warning: this clause cannot match because a previous clause at line 29 always matches


     β”Œβ”€ _build/default/lib/nitrogen_core/src/elements/other/element_calendar.erl:
     β”‚
 139 β”‚  drop_event(ItemTag, #drop_tag{calendar_tag=CalTag, delegate=Delegate, date=Date}) ->
     β”‚             ╰── Warning: variable 'ItemTag' is unused

     β”Œβ”€ _build/default/lib/nitrogen_core/src/elements/other/element_calendar.erl:
     β”‚
 139 β”‚  drop_event(ItemTag, #drop_tag{calendar_tag=CalTag, delegate=Delegate, date=Date}) ->
     β”‚                                             ╰── Warning: variable 'CalTag' is unused

     β”Œβ”€ _build/default/lib/nitrogen_core/src/elements/other/element_calendar.erl:
     β”‚
 139 β”‚  drop_event(ItemTag, #drop_tag{calendar_tag=CalTag, delegate=Delegate, date=Date}) ->
     β”‚                                                              ╰── Warning: variable 'Delegate' is unused

     β”Œβ”€ _build/default/lib/nitrogen_core/src/elements/other/element_calendar.erl:
     β”‚
 139 β”‚  drop_event(ItemTag, #drop_tag{calendar_tag=CalTag, delegate=Delegate, date=Date}) ->
     β”‚                                                                             ╰── Warning: variable 'Date' is unused


     β”Œβ”€ _build/default/lib/nitrogen_core/src/lib/wf_convert.erl:
     β”‚
 193 β”‚  to_bool(-0.0) -> false;
     β”‚  ╰── Warning: this clause cannot match because a previous clause at line 192 always matches


===> Compiling ranch
===> Compiling cowlib
===> Compiling cowboy
Checking for Nitrogen Plugins
Deps dirs: ["lib","_build/default/lib","_build/default/checkouts"]
No Nitrogen Plugins Found
Generating blank plugin header (plugins.hrl)
Writing changes to "./include/plugins.hrl"
Running: rm -fr priv/static/nitrogen
Running: ln -s `pwd`/_build/default/lib/nitrogen_core/priv/www priv/static/nitrogen
CONFIG ASSEMBLER: Loading etc/app.config...Success!
CONFIG ASSEMBLER: Loading etc/simple_bridge.config...Success!
CONFIG ASSEMBLER: Loading etc/sync.config...Success!
CONFIG ASSEMBLER: Generating etc/autogenerated.config.all...Success!
===> Analyzing applications...
===> Compiling ookma_kyi
Erlang/OTP 25 [erts-13.2.2.5] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

Eshell V13.2.2.5  (abort with ^G)
1> =PROGRESS REPORT==== 7-Jun-2025::14:21:06.267020 ===
    supervisor: {local,logger_sup}
    started: [{pid,<0.6564.0>},
              {id,error_logger},
              {mfargs,{error_logger,start_link,[]}},
              {restart_type,transient},
              {significant,false},
              {shutdown,2000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.300517 ===
    supervisor: {local,sasl_safe_sup}
    started: [{pid,<0.6567.0>},
              {id,alarm_handler},
              {mfargs,{alarm_handler,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,2000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.300834 ===
    supervisor: {local,sasl_sup}
    started: [{pid,<0.6566.0>},
              {id,sasl_safe_sup},
              {mfargs,{supervisor,start_link,
                                  [{local,sasl_safe_sup},sasl,safe]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.315539 ===
    supervisor: {local,sasl_sup}
    started: [{pid,<0.6568.0>},
              {id,release_handler},
              {mfargs,{release_handler,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,2000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.316063 ===
    application: sasl
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.329230 ===
    supervisor: {local,mutagen_sup}
    started: [{pid,<0.6574.0>},
              {id,mutagen},
              {mfargs,{mutagen,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.329661 ===
    application: mutagen
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.339696 ===
    supervisor: {local,nitro_cache_sup}
    started: [{pid,<0.6579.0>},
              {id,nitro_cache_expirer},
              {mfargs,{nitro_cache_expirer,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.340142 ===
    application: nitro_cache
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.360890 ===
    supervisor: {local,kernel_sup}
    started: [{pid,<0.6585.0>},
              {id,timer_server},
              {mfargs,{timer,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,1000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.361303 ===
    supervisor: {local,nprocreg_sup}
    started: [{pid,<0.6584.0>},
              {id,nprocreg},
              {mfargs,{nprocreg,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,2000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.361557 ===
    application: nprocreg
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.382577 ===
    application: cowlib
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.394643 ===
    supervisor: {local,ranch_sup}
    started: [{pid,<0.6595.0>},
              {id,ranch_server},
              {mfargs,{ranch_server,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.395349 ===
    application: ranch
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.405627 ===
    supervisor: {local,cowboy_sup}
    started: [{pid,<0.6600.0>},
              {id,cowboy_clock},
              {mfargs,{cowboy_clock,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.405932 ===
    application: cowboy
    started_at: nonode@nohost

Starting Cowboy Server on {0,0,0,0}:8000
Static Paths: ["js/","css/","images/","nitrogen/","favicon.ico"]
Document Root for Static: ./priv/static
Using Cowboy Dispatch Table:
  [{'_',[],
        [{[<<"js">>,'...'],
          [],cowboy_static,
          {dir,"./priv/static/js/",[{mimetypes,cow_mimetypes,all}]}},
         {[<<"css">>,'...'],
          [],cowboy_static,
          {dir,"./priv/static/css/",[{mimetypes,cow_mimetypes,all}]}},
         {[<<"images">>,'...'],
          [],cowboy_static,
          {dir,"./priv/static/images/",[{mimetypes,cow_mimetypes,all}]}},
         {[<<"nitrogen">>,'...'],
          [],cowboy_static,
          {dir,"./priv/static/nitrogen/",[{mimetypes,cow_mimetypes,all}]}},
         {[<<"favicon.ico">>],
          [],cowboy_static,
          {file,"./priv/static/favicon.ico",[{mimetypes,cow_mimetypes,all}]}},
         {'_',[],cowboy_simple_bridge_anchor,[]}]}]
=PROGRESS REPORT==== 7-Jun-2025::14:21:06.441093 ===
    supervisor: {<0.6601.0>,ranch_listener_sup}
    started: [{pid,<0.6602.0>},
              {id,ranch_conns_sup},
              {mfargs,
                  {ranch_conns_sup,start_link,[http,ranch_tcp,cowboy_clear]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.452071 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6604.0>},
              {id,{acceptor,<0.6603.0>,1}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.452306 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6605.0>},
              {id,{acceptor,<0.6603.0>,2}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.452435 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6606.0>},
              {id,{acceptor,<0.6603.0>,3}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.452708 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6607.0>},
              {id,{acceptor,<0.6603.0>,4}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.453290 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6608.0>},
              {id,{acceptor,<0.6603.0>,5}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.453534 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6609.0>},
              {id,{acceptor,<0.6603.0>,6}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.453914 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6610.0>},
              {id,{acceptor,<0.6603.0>,7}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.454440 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6611.0>},
              {id,{acceptor,<0.6603.0>,8}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.455060 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6612.0>},
              {id,{acceptor,<0.6603.0>,9}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.455650 ===
    supervisor: {<0.6603.0>,ranch_acceptors_sup}
    started: [{pid,<0.6613.0>},
              {id,{acceptor,<0.6603.0>,10}},
              {mfargs,{ranch_acceptor,start_link,
                                      [#Port<0.133>,ranch_tcp,error_logger,
                                       <0.6602.0>]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,brutal_kill},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.456287 ===
    supervisor: {<0.6601.0>,ranch_listener_sup}
    started: [{pid,<0.6603.0>},
              {id,ranch_acceptors_sup},
              {mfargs,{ranch_acceptors_sup,start_link,[http,ranch_tcp]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.456507 ===
    supervisor: {local,ranch_sup}
    started: [{pid,<0.6601.0>},
              {id,{ranch_listener_sup,http}},
              {mfargs,
               {ranch_listener_sup,start_link,
                [http,ranch_tcp,
                 #{connection_type => supervisor,
                   socket_opts => [{ip,{0,0,0,0}},{port,8000}]},
                 cowboy_clear,
                 #{connection_type => supervisor,
                   env =>
                    #{dispatch =>
                       [{'_',[],
                         [{[<<"js">>,'...'],
                           [],cowboy_static,
                           {dir,"./priv/static/js/",
                            [{mimetypes,cow_mimetypes,all}]}},
                          {[<<"css">>,'...'],
                           [],cowboy_static,
                           {dir,"./priv/static/css/",
                            [{mimetypes,cow_mimetypes,all}]}},
                          {[<<"images">>,'...'],
                           [],cowboy_static,
                           {dir,"./priv/static/images/",
                            [{mimetypes,cow_mimetypes,all}]}},
                          {[<<"nitrogen">>,'...'],
                           [],cowboy_static,
                           {dir,"./priv/static/nitrogen/",
                            [{mimetypes,cow_mimetypes,all}]}},
                          {[<<"favicon.ico">>],
                           [],cowboy_static,
                           {file,"./priv/static/favicon.ico",
                            [{mimetypes,cow_mimetypes,all}]}},
                          {'_',[],cowboy_simple_bridge_anchor,[]}]}]},
                   max_keepalive => 100}]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.457068 ===
    application: simple_bridge
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.457624 ===
    application: qdate_localtime
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.457932 ===
    application: cf
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.458107 ===
    application: erlware_commons
    started_at: nonode@nohost

=INFO REPORT==== 7-Jun-2025::14:21:06.471937 ===
Creating qdate ETS Table: qdate_srv
=PROGRESS REPORT==== 7-Jun-2025::14:21:06.472171 ===
    supervisor: {local,qdate_sup}
    started: [{pid,<0.6621.0>},
              {id,qdate_srv},
              {mfargs,{qdate_srv,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.472425 ===
    application: qdate
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.649856 ===
    supervisor: {local,mnesia_sup}
    started: [{pid,<0.6637.0>},
              {id,mnesia_event},
              {mfargs,{mnesia_sup,start_event,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,30000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.673139 ===
    supervisor: {local,mnesia_sup}
    started: [{pid,<0.6638.0>},
              {id,mnesia_ext_sup},
              {mfargs,{mnesia_ext_sup,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.674231 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6640.0>},
              {id,mnesia_monitor},
              {mfargs,{mnesia_monitor,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.705464 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6641.0>},
              {id,mnesia_subscr},
              {mfargs,{mnesia_subscr,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.727209 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6642.0>},
              {id,mnesia_locker},
              {mfargs,{mnesia_locker,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.757523 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6643.0>},
              {id,mnesia_recover},
              {mfargs,{mnesia_recover,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,180000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.829092 ===
    supervisor: {local,kernel_safe_sup}
    started: [{pid,<0.6651.0>},
              {id,dets_sup},
              {mfargs,{dets_sup,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,1000},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.829425 ===
    supervisor: {local,kernel_safe_sup}
    started: [{pid,<0.6652.0>},
              {id,dets},
              {mfargs,{dets_server,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,2000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:06.971813 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6644.0>},
              {id,mnesia_tm},
              {mfargs,{mnesia_tm,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,30000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.002629 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6664.0>},
              {id,mnesia_rpc},
              {mfargs,{mnesia_rpc,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.027928 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6665.0>},
              {id,mnesia_checkpoint_sup},
              {mfargs,{mnesia_checkpoint_sup,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.028370 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6666.0>},
              {id,mnesia_controller},
              {mfargs,{mnesia_controller,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.068635 ===
    supervisor: {local,mnesia_kernel_sup}
    started: [{pid,<0.6667.0>},
              {id,mnesia_late_loader},
              {mfargs,{mnesia_late_loader,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,3000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.068866 ===
    supervisor: {local,mnesia_sup}
    started: [{pid,<0.6639.0>},
              {id,mnesia_kernel_sup},
              {mfargs,{mnesia_kernel_sup,start,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,infinity},
              {child_type,supervisor}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.069015 ===
    application: mnesia
    started_at: nonode@nohost

=INFO REPORT==== 7-Jun-2025::14:21:07.124987 ===
Canister: (Node: nonode@nohost) Initializing Table: canister_data: {atomic,ok}

=INFO REPORT==== 7-Jun-2025::14:21:07.132783 ===
Canister: (Node: nonode@nohost) Initializing Table: canister_times: {atomic,
                                                                     ok}

Nitrogen Canister Session Manager Configuration:
*** Canister: No auto-connected cluster nodes (default_cluster) configured. You'll have to manually connect nodes (net_kernel:connect_node(Node))
*** Canister: Session Timeout (session_timeout): 20 minutes
*** Canister: Session Deletion Grace Period (grace_period): 60 minutes
*** Canister: Session Clear Interval (clear_interval): 60 minutes
*** Canister: Session Intentional Jitter (interval_jitter): 5 minutes
*** Canister: Cluster Remote Timeout (remote_timeout): 2000 milliseconds
*** Canister: Refresh Node List Interval (node_interval): 8 seconds
=INFO REPORT==== 7-Jun-2025::14:21:07.140914 ===
Canister: (Node: nonode@nohost) Starting Expiration Server

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.141148 ===
    supervisor: {local,canister_sup}
    started: [{pid,<0.6682.0>},
              {id,canister_exp},
              {mfargs,{canister_exp,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.144660 ===
    supervisor: {local,canister_sup}
    started: [{pid,<0.6683.0>},
              {id,canister_sync},
              {mfargs,{canister_sync,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.150892 ===
    supervisor: {local,canister_sup}
    started: [{pid,<0.6685.0>},
              {id,canister_resync},
              {mfargs,{canister_resync,start_link,[]}},
              {restart_type,permanent},
              {significant,false},
              {shutdown,5000},
              {child_type,worker}]

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.151220 ===
    application: canister
    started_at: nonode@nohost

=PROGRESS REPORT==== 7-Jun-2025::14:21:07.151441 ===
    application: nitrogen_core
    started_at: nonode@nohost

===> Booted sasl
=PROGRESS REPORT==== 7-Jun-2025::14:21:07.161021 ===
    application: ookma_kyi
    started_at: nonode@nohost

===> Booted mutagen
===> Booted nitro_cache
===> Booted nprocreg
===> Booted simple_bridge
===> Booted qdate_localtime
===> Booted cf
===> Booted erlware_commons
===> Booted qdate
===> Booted canister
===> Booted nitrogen_core
===> Booted ookma_kyi
===> Evaluating: "sync:go()."
=PROGRESS REPORT==== 7-Jun-2025::14:21:07.167384 ===
    application: compiler
    started_at: nonode@nohost

The app still manages to run though. The warnings seem easy to fix, but the compile errors for rebar3 seems like something the developer should look into.

The error is not in rebar3 but in the rebar3_run plugin this project adds. That plugin wants a C compiler (the cc command) but apparently your system doesn’t have one.