You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also tried deleting erlang and rebar3 and reinstalling fresh version.
Erlang runs normally without these errors.
So I was trying to set up plugin as noted in the README.
illiapuzanov@XVII my-lfe-main % nvim ~/.config/rebar3/rebar.config
---
{plugins, [
{rebar3_lfe, "0.4.11"}
]}.
---
illiapuzanov@XVII my-lfe-main % rm -rf ~/.cache/rebar3/plugins/*
illiapuzanov@XVII my-lfe-main % rebar3 lfe versions
===> Fetching rebar3_lfe v0.4.11
===> Fetching lfe v2.1.5
===> Analyzing applications...
===> Compiling lfe
===> Compiling rebar3_lfe
{error,badarg,[{lfe_io,fwrite1,["lfescript: Internal error: ~p\n",[{case_clause,{error,tokens}}]],[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfe_io.erl"},{line,267}]},{lfe_io,format,3,[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfe_io.erl"},{line,257}]},{lfescript,run,2,[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfescript.erl"},{line,66}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}
Runtime terminating during boot ({badarg,[{lfe_io,fwrite1,["lfescript: Internal error: ~p\n",[{case_clause,{error,tokens}}]],[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfe_io.erl"},{line,267}]},{lfe_io,format,3,[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfe_io.erl"},{line,257}]},{lfescript,run,2,[{file,"/Users/illiapuzanov/.cache/rebar3/plugins/lfe/src/lfescript.erl"},{line,66}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: erl_crash.dump...done
===> Hook for app_compile failed!
===> Errors loading plugin {rebar3_lfe,"0.4.11"}. Run rebar3 with DEBUG=1 set to see errors.
===> Analyzing applications...
===> Compiling zipper
===> Compiling katana_code
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
_build/default/plugins/katana_code/src/ktn_dodger.erl:510:39: syntax error before: 'else'
_build/default/plugins/katana_code/src/ktn_dodger.erl:655:34: syntax error before: 'else'
_build/default/plugins/katana_code/src/ktn_dodger.erl:492:30: function quickscan_form/1 undefined
_build/default/plugins/katana_code/src/ktn_dodger.erl:624:10: function scan_form/2 undefined
_build/default/plugins/katana_code/src/ktn_dodger.erl:527:1: Warning: function kill_form/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:531:1: Warning: function quickscan_macros/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:534:1: Warning: function quickscan_macros/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:562:1: Warning: function quickscan_macros_1/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:570:1: Warning: function quick_macro_atom/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:573:1: Warning: function quick_macro_string/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:579:1: Warning: function skip_macro_args/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:584:1: Warning: function skip_macro_args/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:684:1: Warning: function build_info_string/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:689:1: Warning: function scan_macros/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:692:1: Warning: function scan_macros/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:731:1: Warning: function macro/5 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:734:1: Warning: function macro_call/6 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:749:1: Warning: function macro_atom/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:757:1: Warning: function parentheses/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:763:1: Warning: function scan_macros_1/4 is unused
===> Errors loading plugin rebar3_lint. Run rebar3 with DEBUG=1 set to see errors.
===> Analyzing applications...
===> Compiling zipper
===> Compiling katana_code
===> Compiling _build/default/plugins/katana_code/src/ktn_dodger.erl failed
_build/default/plugins/katana_code/src/ktn_dodger.erl:510:39: syntax error before: 'else'
_build/default/plugins/katana_code/src/ktn_dodger.erl:655:34: syntax error before: 'else'
_build/default/plugins/katana_code/src/ktn_dodger.erl:492:30: function quickscan_form/1 undefined
_build/default/plugins/katana_code/src/ktn_dodger.erl:624:10: function scan_form/2 undefined
_build/default/plugins/katana_code/src/ktn_dodger.erl:527:1: Warning: function kill_form/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:531:1: Warning: function quickscan_macros/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:534:1: Warning: function quickscan_macros/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:562:1: Warning: function quickscan_macros_1/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:570:1: Warning: function quick_macro_atom/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:573:1: Warning: function quick_macro_string/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:579:1: Warning: function skip_macro_args/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:584:1: Warning: function skip_macro_args/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:684:1: Warning: function build_info_string/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:689:1: Warning: function scan_macros/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:692:1: Warning: function scan_macros/3 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:731:1: Warning: function macro/5 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:734:1: Warning: function macro_call/6 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:749:1: Warning: function macro_atom/2 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:757:1: Warning: function parentheses/1 is unused
_build/default/plugins/katana_code/src/ktn_dodger.erl:763:1: Warning: function scan_macros_1/4 is unused
===> Errors loading plugin {rebar3_lint,"0.2.0"}. Run rebar3 with DEBUG=1 set to see errors.
I kind of have a suspicion it is related to Erlang version, but just wanted to clarify if OTP 27 support is there, or I need to rollback?
The text was updated successfully, but these errors were encountered:
Hi everyone!
Setup:
macOS Sonoma 14.6.1
rebar 3.22.1 on Erlang/OTP 27 Erts 15.1.3
I also tried deleting erlang and rebar3 and reinstalling fresh version.
Erlang runs normally without these errors.
So I was trying to set up plugin as noted in the README.
I kind of have a suspicion it is related to Erlang version, but just wanted to clarify if OTP 27 support is there, or I need to rollback?
The text was updated successfully, but these errors were encountered: