Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.9.5 does not work with Erlang OTP 26 on Windows 10 #268

Closed
fuributas opened this issue Jul 5, 2023 · 5 comments
Closed

v0.9.5 does not work with Erlang OTP 26 on Windows 10 #268

fuributas opened this issue Jul 5, 2023 · 5 comments

Comments

@fuributas
Copy link

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':

image

But if I switch to Erlang OTP 25.2.3.2 it works seamless.

Thanks.

@pgourlain
Copy link
Owner

Hi

Do you have same problem with newest version ?

@MinhDuc-Tran
Copy link

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.

@pgourlain
Copy link
Owner

hi,

what is your configuration for erlang path.
image

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 ?

@MinhDuc-Tran
Copy link

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.
image

@pgourlain
Copy link
Owner

Hi,

since July, I didn't reproduce this .

I close this ticket, open a new one if you repeat this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants