-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
With OTP 28, the extension can't start the included Erlang LS because it was compiled with OTP 24.
The PR over here fixes this problem.
[2025-06-22T08:24:29.143244+02:00] [error] Supervisor: {local,els_sup}. Context: start_error. Reason: {'EXIT',{undef,[{els_snippets_server,start_link,[],[]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl"},{line,996}]},{supervisor,do_start_child,3,[{file,"supervisor.erl"},{line,982}]},{supervisor,'-start_children/2-fun-0-',3,[{file,"supervisor.erl"},{line,966}]},{supervisor,children_map,4,[{file,"supervisor.erl"},{line,1891}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,932}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,2276}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,2236}]}]}}. Offender: id=els_snippets_server,pid=undefined. [supervisor:start_children/2 L974] <0.116.0>
[2025-06-22T08:24:29.143195+02:00] [error] beam/beam_load.c(594): Error loading function els_snippets_server:build_snippet/1: op bs_add p x i u x:, please re-compile this module with an Erlang/OTP 28 compiler or update your Erlang/OTP version [ L] <0.116.0>
escript: exception exit: terminating
in function application_controller:call/2 (application_controller.erl:515)
in call from application:'-ensure_all_started/3-lc$^0/1-0-'/1 (application.erl:368)
in call from application:ensure_all_started/3 (application.erl:368)
in call from erlang_ls:main/1 (/home/runner/work/vscode/vscode/erlang_ls/apps/els_lsp/src/erlang_ls.erl:29)
in call from escript:run/2 (escript.erl:906)
in call from escript:start/1 (escript.erl:420)
in call from init:start_it/1
in call from init:start_em/1
[Info - 8:24:29 AM] Connection to server got closed. Server will restart.
eec-markj and ZeeWanderer
Metadata
Metadata
Assignees
Labels
No labels