VSCode keeps installing ls 0.14.0 and fails to start language server
See original GitHub issueEvery time I open VSCode in a terraform repo, I get 2 pop ups in the bottom right of the screen. See screenshot attachments.
The first is a message saying ‘Installed terraform-ls 0.14.0.’. I get this every time, so I assume the install is actually failing
The second is a message is ‘Couldn’t start client Language Server:’
I’ve tried uninstalling and reinstalling the extension and uninstalling and reinstalling VSCode entirely. I’ve also made sure to run terraform init as well as reset the terraform.languageServer block in the settings JSON as instructed in the README.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Language server is failing to start. · Issue #390 - GitHub
I am getting below error while trying to install the latest version of this extension. Launching language server: ...
Read more >Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >Troubleshoot Terminal launch failures - Visual Studio Code
Some terminal launch failures may be due to your shell installation and are not specific to VS Code. The exit codes displayed come...
Read more >Remote Development FAQ - Visual Studio Code
The VS Code Server is quickly installed by VS Code when you connect to a remote ... You can use one of the...
Read more >Visual Studio Code Frequently Asked Questions
Visual Studio Code FAQ. Our docs contain a Common questions section as needed for specific topics. We've captured items here that don't fit...
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 Free
Top 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

I had the same issue - just the first part. Terraform Language Server would install on every VSCode open. Sometimes it would error, but most times it would just finish and I would close the popup. More of an annoyance than anything else. When I checked my pathToBinary property in settings, it was blank. So, I downloaded the terraform-ls.exe for my system and updated the path in settings. No more popup. My settings look the same as previous post (minus path differences), so I did not repeat it here - the above post works to solve the problem.
My install was standard windows installer. I also use a mac and settings sync, the mac behaved the same way until applying the fix. I don’t think it is platform specific.