vscode_erlang
vscode_erlang copied to clipboard
v0.9.5 does not work with Erlang OTP 26 on Windows 10
Hi,
This is my environment:
- Windows 10 Pro 22H2
- Clean portable installacion of VSCode-win32-x64-1.79.2
- vscode_erlang v0.9.5
- Erlang OTP 26.0.2
When I open an Erlang file, it seems that the extension hangs on 'rebar3 compile':
But if I switch to Erlang OTP 25.2.3.2 it works seamless.
Thanks.
Hi
Do you have same problem with newest version ?
Hi, I face the similar problem on Ubuntu with latest version v1.0.9. It works with OTP v25. but not for OTP v26.
OTP v25
erlang extension is active using erlang binaries from path : '.../OTP-25.3.2.7-statssl/bin' starting : escript ... escript exit code:0
OTP v26
erlang extension is active starting : escript .../.vscode-server/extensions/pgourlain.erlang-1.0.9/rebar3 compile /bin/sh: 1: escript: not found escript exit code:127
Kindly help check.
hi,
what is your configuration for erlang path.
it seems that escript is not in the environment path. can you check in your sh shell 'whereis escript' do you have restarted vscode after OTP26 installation ?
Thanks pgourlain, after I correct the path, it seems to work.
Even It still has uncaught errors, basic function works. I don't see any error in output.