This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-29
Channels
- # beginners (16)
- # cider (7)
- # clj-kondo (4)
- # clj-together (1)
- # cljsrn (1)
- # clojure (11)
- # clojure-europe (4)
- # clojure-norway (6)
- # clojure-spec (1)
- # clojurescript (2)
- # datalevin (35)
- # datomic (9)
- # honeysql (1)
- # introduce-yourself (3)
- # lsp (6)
- # off-topic (25)
- # pathom (1)
- # polylith (1)
- # releases (1)
- # shadow-cljs (38)
- # sql (5)
Hi all, I get this error when I try to eval this:
(ns backend.providers.report
(:require [fire.core :as fire]))
Error:
1. Unhandled java.lang.IllegalAccessError
update-vals does not exist
The jack-in command is:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.2.0-beta2\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.49.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.9.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\]\"\]\}\}\} -M:cider/nrepl
My clojure version is Clojure CLI version 1.11.3.1463
. Any ideas why?These are the contents of *cider-error*
Actually, is this the right channel to ask this question?
I check if *clojure-version*
is unexpectedly old. Or if you use AOT in dev (which would be commonly considered a mistake), disable+clear it
> Actually, is this the right channel to ask this question?
You could try to repro with a bare clj
(no cider) and draw conclusions
*clojure-version*
is {:major 1, :minor 11, :incremental 3, :qualifier nil}
so yea not sure why it's complaining that update-vals
is missing
And yea actually, not an
nrepl
issue. Thanks for your time!
Ok, found out that the core.async
version of the fire
lib I"m using is not compatible with clojure 1.11
. Downgrading to clojure 1.10.3
seems fine