This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-03
Channels
- # announcements (8)
- # aws (2)
- # babashka (16)
- # beginners (173)
- # calva (13)
- # cider (4)
- # cljfx (6)
- # cljs-dev (108)
- # clojure (63)
- # clojure-australia (2)
- # clojure-dev (10)
- # clojure-europe (73)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojurescript (49)
- # clojureverse-ops (4)
- # community-development (3)
- # core-async (23)
- # cursive (3)
- # data-science (5)
- # datomic (25)
- # emacs (3)
- # events (1)
- # fulcro (13)
- # helix (5)
- # introduce-yourself (1)
- # lein-figwheel (1)
- # lsp (36)
- # malli (1)
- # meander (2)
- # membrane (4)
- # music (8)
- # nextjournal (51)
- # off-topic (47)
- # other-languages (5)
- # pathom (31)
- # pedestal (5)
- # planck (14)
- # polylith (5)
- # portal (1)
- # re-frame (30)
- # react (2)
- # reagent (24)
- # releases (1)
- # rewrite-clj (18)
- # ring (9)
- # sci (33)
- # shadow-cljs (49)
- # testing (3)
- # tools-build (21)
- # tools-deps (29)
- # vim (19)
- # web-security (1)
- # xtdb (12)
After upgrading clojure-lsp
i see this output from emacs. is it a known issue? do i have to do something else?
LSP :: Connected to [clojure-lsp:21324/starting].
LSP :: clojure-lsp has exited (exited abnormally with code 193)
LSP :: clojure-lsp<1> has exited (exited abnormally with code 193)
Server clojure-lsp:21324/starting exited with status exit(check corresponding stderr buffer for details). Do you want to restart it? (y or n) n
@U1ZJ06MMK could you try installing again?
scoop install clojure-lsp
Installing 'clojure-lsp' (2022.02.01-20.02.32) [64bit]
Loading clojure-lsp-native-windows-amd64.zip from cache
Checking hash of clojure-lsp-native-windows-amd64.zip ... ok.
Extracting clojure-lsp-native-windows-amd64.zip ... done.
Linking ~\scoop\apps\clojure-lsp\current => ~\scoop\apps\clojure-lsp\2022.02.01-20.02.32
Creating shim for 'clojure-lsp'.
'clojure-lsp' (2022.02.01-20.02.32) was installed successfully!
You can download it from here: https://github.com/clojure-lsp/clojure-lsp/releases/tag/2022.02.01-20.02.32
you need to download https://github.com/clojure-lsp/clojure-lsp/releases/download/2022.02.01-20.02.32/clojure-lsp-native-windows-amd64.zip
Hey hello, from version https://github.com/clojure-lsp/clojure-lsp/releases/tag/2022.01.22-01.31.09 onwards I can't have this in my deps.edn:
:clojure-lsp {:replace-deps {com.github.clojure-lsp/clojure-lsp {:mvn/version "2022.01.22-01.31.09"}}
:main-opts ["-m" "clojure-lsp.main"]}
And run commands like clj -M:clojure-lsp format
I'm missing something?I'm getting this error:
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate clojure_lsp/main__init.class, clojure_lsp/main.clj or clojure_lsp/main.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
Yes! we made some changes on the jar, that jar contains only the necessary to be used as a JVM dependency, clojure-lsp.api in this case, for what you want you need to use the com.github.clojure-lsp/clojure-lsp-standalone
since you are using functions from main/cli
Nice! It worked!