Skip to content

Jack in not working in Cursor due to ancient nrepl version #2964

@Knotschi

Description

@Knotschi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CursorRelated to the Cursor fork of VS CodebugSomething isn't workingjack-in

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions