BetterThanTomorrow / calva

Clojure & ClojureScript Interactive Programming for VS Code
https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva
Other
1.67k stars 217 forks source link

Starting client failed Launching server in version 2.0.271 with clojure-lsp failed #1713

Open Tsunaou opened 2 years ago

Tsunaou commented 2 years ago

It seems that I upgrade this extension by accident. I can not use clojure-lsp. The output in vscode reports :

[Error - 3:53:07 PM] Starting client failed
Launching server using command /root/.vscode-server/extensions/betterthantomorrow.calva-2.0.271/clojure-lsp failed.

However, there is not clojure-lsp in betterthantomorrow.calva-2.0.271/

# root @ VM-122-90-centos in ~/.vscode-server/extensions/betterthantomorrow.calva-2.0.271 [16:01:10] 
$ ll
total 4.7M
drwxr-xr-x 6 root root 4.0K May  6 15:53 assets
drwxr-xr-x 2 root root 4.0K May  6 15:53 bundled
-rw-r--r-- 1 root root  70K May  6 15:53 CHANGELOG.md
-rw-r--r-- 1 root root  11K May  6 15:53 clojure.tmLanguage.json
-rw-r--r-- 1 root root 4.5M May  6 15:53 deps.clj.jar
-rw-r--r-- 1 root root  433 May  6 15:53 language-configuration.json
-rw-r--r-- 1 root root 1.2K May  6 15:53 LICENSE.txt
drwxr-xr-x 3 root root 4.0K May  6 15:53 out
-rw-r--r-- 1 root root  94K May  6 15:53 package.json
-rw-r--r-- 1 root root  16K May  6 15:53 README.md

Is the bug of the lastest release?

PEZ commented 2 years ago

Hi!

I don't think this is caused by any recent change. It could have been a temporary failure to download clojure-lsp. Clicking the clojure-lsp indicator in the status bar should give you a menu where you can attempt to download again. Please see if that helps. Or what you get in the developer console (Help menu) if it fails.

Tsunaou commented 2 years ago

This is indeed a problem with the new version, or rather, a problem with downloading clojure-lsp when the version is updated automatically.

image

The URL is invalid so the program can not work healthy.

bpringe commented 2 years ago

Hmm, I don't know why the version is missing from the URL. Do you have calva.clojureLspVersion set to some value in your settings, and if so, what is it set to?