-
Notifications
You must be signed in to change notification settings - Fork 182
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
terraform-ls: cannot execute binary file
#1103
Comments
Hi @sarayourfriend
In general VS Code decides what build of the extension (along with the relevant build of LS) to pick. There are some known issues with the last uploaded builds in OpenVSX which some 3rd party VS Code builds likely use. We're trying to resolve that as part of #1064 but waiting for ovsx maintainers currently. |
Yes, an i7 11th gen mobile. The rest, no I am not, I'm using the version available from the Arch repositories, which I believe is indeed the OSS version of VSCode (no MS binary additions). Feel free to close this if the issue is already documented with my setup. Thanks for the fast response! |
Understood. It would be still good to know if this is at all related to #1064 and whether publishing correct packages to OpenVSX will resolve your issues. The version you mentioned ( If you agree, we can close this as a duplicate of #1064 |
Ah, okay! I'm fine closing this issue. I will keep an eye out for updates to the extension in OpenVSX and if it isn't fixed on the next release there then I'll make a not here about it 😁 |
FWIW in the meantime you may be able to downgrade to 2.19.0 which was the last version built as universal (rather than platform specific) - but of course managing LS on your own like you mentioned is also a good workaround. As mentioned in the linked issue we are currently blocked by eclipse/openvsx#450 |
As a workaround one can download the platform-specific |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Versions
This bug is reproducible in:
Extension
Language Server
I'm not sure what version of
terraform-ls
is being shipped with the inspection because the binary is not able to be executed.VS Code
Operating System
Terraform Version
Steps To Reproduce
terraform-ls
should be an executable binary.Note, running
chmod +x
on the binary file did not help.Actual Behavior
The binary is not executable.
Additional context
The workaround I'm using currently (which is working great, BTW, amazing work on the extension, the experience with and without it is night and day) is to install
terraform-ls
from the AUR and update my VSCode settings with the following:The text was updated successfully, but these errors were encountered: