This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-09
Channels
- # announcements (6)
- # babashka (17)
- # beginners (70)
- # calva (6)
- # chlorine-clover (88)
- # cider (9)
- # cljs-dev (9)
- # clojure (66)
- # clojure-australia (3)
- # clojure-czech (5)
- # clojure-europe (73)
- # clojure-nl (5)
- # clojure-spec (62)
- # clojure-uk (38)
- # clojurescript (30)
- # cursive (10)
- # datomic (16)
- # events (1)
- # figwheel-main (1)
- # fulcro (6)
- # graphql (21)
- # helix (4)
- # jackdaw (1)
- # jobs-rus (1)
- # kaocha (3)
- # luminus (11)
- # malli (28)
- # pedestal (3)
- # re-frame (2)
- # reagent (3)
- # sci (2)
- # shadow-cljs (21)
- # spacemacs (2)
- # sql (25)
- # timbre (2)
- # tools-deps (9)
- # tree-sitter (1)
- # xtdb (21)
I am using Cursive 1.9.4 - 2020-10-20 and suddenly am unable to index projects:
12:41 PM Error reading /Users/kennytilton/dev/crawlingchaos/project.clj
Cannot run program "clojure" (in directory "/Users/kennytilton/dev/crawlingchaos"): error=2, No such file or directory
error=2, No such file or directory
What did I do now?! 🙂 The command clojure
brings up a prompt in that directory, and I created a symlink named clojure anyway and it still brings up a prompt. I must be misinterpreting that error. Any ideas appreciated. 🙏I just recreated the IntelliJ project from sources, problem unchanged.
Another team member sees the same on a diff repo.
Catalina is a suspect. It is aways a suspect.
(Some of us) had to tell lein-tools-deps where to find clojure
:lein-tools-deps/config {:clojure-executables ["clojure" "/usr/local/bin/clojure"]
:config-files [:install :user :project]}
Even tho it was on our path, btw.
So with that, is the problem fixed? That’s possible, since IntelliJ doesn’t use the same CWD or PATH as lein itself.
I would like to use kaocha as my test runner, how could I tell Cursive to use kaocha to run my tests? 👀
Sadly, right now, you can’t, although testing in general is something I’m working on at the moment.
Although it doesn't integrate with gutter markers, etc, I use custom repl commands for this: run all
(do
(require 'clojure.spec.alpha 'expound.alpha 'kaocha.repl)
(binding [clojure.spec.alpha/*explain-out* expound.alpha/printer]
(kaocha.repl/run-all)))
run current repl ns
(do
(require 'clojure.spec.alpha 'expound.alpha 'kaocha.repl)
(binding [clojure.spec.alpha/*explain-out* expound.alpha/printer]
(kaocha.repl/run)))