vscode_erlang icon indicating copy to clipboard operation
vscode_erlang copied to clipboard

escript: exception error: undefined function rebar3:main/1

Open robsonpeixoto opened this issue 1 year ago • 2 comments

I'm a Erlang noob and I'm trying to use this extension to develop, but I got the error:

erlang extension is active
starting : escript 
/home/robinho/.vscode/extensions/pgourlain.erlang-0.8.4/rebar3 compile
escript: exception error: undefined function rebar3:main/1
  in function  escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
escript exit code:127
starting : erl 
-noshell -pa src -pa ebin -s int -vscode_port 42043 -s vscode_lsp_entry start 42043 
spawn /bin/sh ENOENT

How can I solve it? And thanks for your time creating this extension :heart:

robsonpeixoto avatar Aug 05 '22 21:08 robsonpeixoto