Fork me on GitHub
#cider
<
2024-06-29
>
anonimitoraf04:06:42

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?

oyakushev04:06:31

Try loading fire.core again in CIDER and see what error it gives.

anonimitoraf04:06:29

These are the contents of *cider-error*

anonimitoraf05:06:17

Actually, is this the right channel to ask this question?

vemv08:06:54

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

anonimitoraf12:06:39

*clojure-version* is {:major 1, :minor 11, :incremental 3, :qualifier nil} so yea not sure why it's complaining that update-vals is missing deep_thinking And yea actually, not an nrepl issue. Thanks for your time!

anonimitoraf13:06:53

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