Am I missing something needed for kaocha.repl?
~/s/w/clojure ❯ clj
Clojure 1.12.4
user=> (require 'kaocha.repl)
Execution error (FileNotFoundException) at user/eval1 (REPL:1).
Could not locate kaocha/repl__init.class, kaocha/repl.clj or kaocha/repl.cljc on classpath.
deps.edn:
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.12.4"}
clj-http/clj-http {:mvn/version "3.13.1"}
cheshire/cheshire {:mvn/version "6.2.0"}
selmer/selmer {:mvn/version "1.13.4"}
http-kit/http-kit {:mvn/version "2.8.1"}
compojure/compojure {:mvn/version "1.7.2"}}
:aliases
{:run-m {:main-opts ["-m" "weatherup.weatherup"]}
:run-x {:ns-default weatherup.weatherup
:exec-fn greet
:exec-args {:name "Clojure"}}
:build {:deps {io.github.clojure/tools.build
{:mvn/version "0.10.11"}}
:ns-default build}
:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.2"}
io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}}}
:neil {:project {:name weatherup/weatherup}}
:kaocha {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}
:main-opts ["-m" "kaocha.runner"]}}}I don't know much about deps.edn but it looks like you've got Kaocha as a dependency only under that alias, and issuing clj without arguments only loads the ones under :deps
Perhaps you'd need another alias such as
:dev {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}}
and then use it with clj -A:dev (got it working on my machine this way)
Or maybe there's something else that leverages your existing config and suppresses the main opts under :kaocha so it doesn't just start the runner instead of the repl, I'm not sure becase I'm somewhat unfamiliar with deps.edn and clojure cli
ahh thanks, I didn't get that about aliases