This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-04
Channels
- # announcements (1)
- # babashka (1)
- # beginners (84)
- # biff (22)
- # calva (9)
- # cider (8)
- # clerk (5)
- # clj-kondo (10)
- # clojure (105)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (44)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojuredesign-podcast (36)
- # cursive (13)
- # datomic (24)
- # dev-tooling (8)
- # emacs (8)
- # hyperfiddle (4)
- # jobs (1)
- # leiningen (2)
- # london-clojurians (1)
- # lsp (5)
- # malli (6)
- # membrane (11)
- # nyc (1)
- # off-topic (14)
- # other-languages (8)
- # pathom (25)
- # pedestal (2)
- # re-frame (4)
- # releases (1)
- # remote-jobs (1)
- # shadow-cljs (98)
- # sql (5)
- # squint (1)
- # tools-deps (38)
- # vim (8)
- # xtdb (11)
I’m getting an error on Windows starting Clojure LSP from Calva. >> LSP classpath lookup failed when running /usr/bin/clojure -A:test:dev -Spath. Some features may not work properly if ignored. >> > Error: Execution error (FileNotFoundException) at http://java.io.FileInputStream/open0 (FileInputStream.java:-2). > -A:test:dev (No such file or directory) > > Full report at: > /tmp/clojure-13341533077395372845.edn
>> marc@wipeout:~/dev/advent-of-code$ cat /tmp/clojure-15468156041125544679.edn >> > {:clojure.main/message > "Execution error (FileNotFoundException) at http://java.io.FileInputStream/open0 (FileInputStream.java:-2).\n-A:test:dev (No such file or directory)\n",
Your version of the clojure
script is either too old or not the official CLI.
Good idea, let me dig into that.
I had Clojure 10.1 installed from apt in wsl. I removed that and installed the latest using https://clojure.org/guides/install_clojure#_linux_instructions and that's fixed it 👍 thanks again.
The apt
version of clojure
is not official, as far as I know...
Hi, @U0K592YDP. Happy to see you keep your Clojure reflexes honed!
Aha, so this is what happened:
• I got an error from LSP saying that there was an error running clojure -A:test:dev -Spath
• I opened a terminal and ran that command manually to debug it.
• Ubuntu (`wsl`) prints a message saying something along the lines of clojure: command not found, run apt install clojure
• That is not a helpful message, since that resulted in me installing the unofficial cli
Unfortunately, Ubuntu's answer to most things is apt install ...
😞