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

Error! Failed to eval: -> system_info #1035

Open
ZacAzko opened this issue Jul 9, 2024 · 0 comments
Open

Error! Failed to eval: -> system_info #1035

ZacAzko opened this issue Jul 9, 2024 · 0 comments
Assignees

Comments

@ZacAzko
Copy link

ZacAzko commented Jul 9, 2024

Hi 😊

I'm on Windows and have a little trouble on PHPStorm hen using Erlang plugin.

It seems (after some research) that the plugin try to retrieve the Erlang version with this command :

erl -noshell -eval 'io:format("~s~n~s",[erlang:system_info(otp_release),erlang:system_info(version)]),erlang:halt().'

BUT, on Windows, it crash... :3

image

To resolve the problem, I check the right syntax on Windows and this solution work fine :

erl -noshell -eval "io:format('~s~n~s',[erlang:system_info(otp_release),erlang:system_info(version)]),erlang:halt()."

Here I've just replaced ' by " ...

Is it possible to fix that in the plugin please ?! 😅

Thanks a lot.

@ignatov ignatov self-assigned this Aug 9, 2024
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

2 participants