Connection to server is erroring. Shutting down server. terraform-ls: 1: Syntax error: word unexpected (expecting ")")
See original GitHub issueVersions
Extension
2.21.1
VSCodium
Version: 1.72.2
Release: 22289
Commit: 378660f7dd07287aa34acf90e8fec157425c1ac8
Date: 2022-10-16T23:03:19.989Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-52-generic
Sandboxed: No
Operating System
Linux <redacted> 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Terraform Version
1.3.4
Steps To Reproduce
- I’ve created an empty folder with a main.tf
- I check the TF output and see that it has crashed.
Expected Behavior
The LS should provide the promised features
Actual Behavior
The LS crashes:
Launching language server: /home/user/.vscode-oss/extensions/hashicorp.terraform-2.21.1/bin/terraform-ls serve
[Error - 3:31:19 PM] Connection to server is erroring. Shutting down server.
/home/user/.vscode-oss/extensions/hashicorp.terraform-2.21.1/bin/terraform-ls: 1: Syntax error: word unexpected (expecting ")")
Additional context
Issue Analytics
- State:
- Created 10 months ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Publish new VS Codium release · Issue #1263 - GitHub
Server Version ❯ terraform-ls --version zsh: command not found: terraform-ls ... Shutting down server. terraform-ls: 1: Syntax error: word unexpected ...
Read more >Syntax error: word unexpected (expecting ")") - Stack Overflow
What is this error and how can I solve it? P.S 1 - the Sourcery toolchain is present inside /opt/ folder and my...
Read more >VSCode: Terraform Module Calls not working
It seems to me that most things are working, but when editing a “.tf” file in an initialized Terraform project directory, the “Terraform...
Read more >Enabling VS Code Terraform extension code completion on ...
Terraform Language Server. Basically I've been writing Terraform definitions in VS Code on Windows 10, but I've left some unfamiliar errors ...
Read more >Troubleshooting Omnibus GitLab installation issues
This error is thrown when /etc/gitlab/gitlab.rb configuration file contains configuration that is invalid or unsupported. Double check that there are no typos ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi again,
I’m happy to report that the latest version
2.25.0
of the extension is now available on OpenVSX as well: https://open-vsx.org/extension/hashicorp/terraformFuture versions should be published automatically whenever we release an update.
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.