calva icon indicating copy to clipboard operation
calva copied to clipboard

Jack in not working in Cursor due to ancient nrepl version

Open Knotschi opened this issue 3 months ago • 1 comments

When I try to start the deps.edn repl (Jack-In) with Cursor, it fails. In the calva-repl output I can see:

; Starting Jack-in: (cd /home/knotschi/rpm/rpm-system/etl; clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.3.0"},cider/cider-nrepl {:mvn/version,"0.1.0-SNAPSHOT"}}}' -M:dev -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]")

So it is trying to load an ancient version of the nrepl. It works fine for me in VSC.

I use Clojure CLI version 1.11.1.1113 Cursor version: 2.0.77 (which is using vscode version 1.99.3) Calva version: 2.0.540

my actual installed vscode version where all works fine is: 1.106.0

A workaround for this issue that worked for me was to add this to my user settings:

"calva.jackInDependencyVersions": {
    "nrepl": "1.5.1",
    "cider-nrepl": "0.58.0",
    "cider/piggieback": "0.6.1"
  }

Some more info and debugging tries can be found in this clojurians slack thread: https://clojurians.slack.com/archives/CBE668G4R/p1763398469310569

Knotschi avatar Nov 18 '25 13:11 Knotschi

Thanks for reporting! Very strange issue so far. Let's hope we can unstrange it!

PEZ avatar Nov 18 '25 13:11 PEZ