-
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
couldn't start client language server (Windows) #504
Comments
Hi @sugarraysam – Sorry you're running into a problem there! You can see the full language server logs by opening the output panel and choosing the one that says "terraform-ls". If you need to install the language server manually, the best option is to download it from https://releases.hashicorp.com/terraform-ls/ if you want to share the logs from the output panel, we can look into why it might be failing to start. |
The last update seems to make it much more stable.
If it stays like this I shall retract review and give it 5 stars.
Cheers
…On Wed, 16 Dec 2020 at 20:33, Audrey Eschright ***@***.***> wrote:
Hi @sugarraysam <https://github.com/sugarraysam> – Sorry you're running
into a problem there! You can see the full language server logs by opening
the output panel and choosing the one that says "terraform-ls".
If you need to install the language server manually, the best option is to
download it from https://releases.hashicorp.com/terraform-ls/
It doesn't need to be in your path as long as you have that pathToBinary
setting.
if you want to share the logs from the output panel, we can look into why
it might be failing to start.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#504 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AORZKG465NEGCUM6I4S66YLSVEDQ7ANCNFSM4SZ5R3IQ>
.
|
I'm running into this problem too. Here is the output from the terraform-ls panel: I have tried uninstalling and upgrading/reinstalling the Terraform extension, uninstalling and upgrading/reinstalling VSCode with no joy. I've tried starting VSCode with normal perms as well as with elevated Administrator perms. |
I'm getting the same error :/ Launching language server: c:\Users\user.vscode\extensions\hashicorp.terraform-2.12.1\lsp\terraform-ls serve for folder: file:///c%3A/Users/user/Documents/Terraform/ |
I'm getting the same error Launching language server: c:\Users\tochu.vscode\extensions\hashicorp.terraform-2.12.1\lsp\terraform-ls serve for folder: file:/// |
I have found workaround for this issue. In vscode settings file specify path to terraform-ls.exe. Or simply put terraform-ls.exe if it is in your path.
|
#694 (released as part of With that I'm going to close this issue, but please let us know by opening a new issue if you continue having (any similar or different) issues. The LS installation should work out of the box now on all platforms, without any additional configuration. @vitskr Can you try removing that settings and confirm that it works now (on Thanks. |
I get "Couldn't start client Terraform LS" so it's not fixed. P. S. In terrafrorm-ls.exe log I have found: "Editing a single file is not yet supported. Please open a directory." |
Hi @radeksimko
I'll note that after a VSCode restart, it seems to start fine |
I just started ti face the issue today
terraform-ls.exe location: |
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. |
I am working from an airgapped environment so having the extension manage the language server is not a possibility. The only thing I can do is pull down go repositories basically.
I installed the latest version of
terraform-ls
using:The language server starts fine, and is in $GOBIN. ($GOBIN is also in $PATH)
In my project, I initialize stuff with
terraform init
. And here is my vscode settings:And the errors I get are seen in this screenshot:

Other information
git bash
as my shell in vscode.Questions
How can I see more verbose output for these errors? I enabled
"trace.server": "verbose"
but have no idea how to use it.Thanks for your help!
The text was updated successfully, but these errors were encountered: