Fork me on GitHub
#cider
<
2023-01-14
>
wcalderipe13:01:10

Hey 👋 I've installed https://github.com/clojure-emacs/clj-refactor.el but when I try to jack-in in on one of my Clojure projects, I keep getting the error below. I did some research, but I couldn't find a solution alone.

error in process sentinel: Could not start nREPL server: Error while parsing option "--config-data {:deps {refactor-nrepl/refactor-nrepl {:mvn/version \"3.6.0\"} nrepl/nrepl {:mvn/version \"0.8.3\"} refactor-nrepl/refactor-nrepl {:mvn/version \"3.6.0\"} cider/cider-nrepl {:mvn/version \"0.25.9\"}} :aliases {:cider/nrepl {:main-opts [\"-m\" \"nrepl.cmdline\" \"--middleware\" \"[refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]\"]}}}": java.lang.IllegalArgumentException: Duplicate key: refactor-nrepl/refactor-nrepl
Would someone please point me in the right direction?

wcalderipe13:01:10

I'm using deps.edn and I don't have refactor-nrepl/refactor-nrepl installed on either my project nor ~/.clojure/deps.edn

moe13:01:41

You could try (setq cljr-inject-dependencies-at-jack-in nil)

👀 2
vemv14:01:22

what's your cider.el version?

wcalderipe16:01:42

> what's your cider.el version? 1.1.0-snapshot

moe20:01:41

@UHD67JRL4 Any luck with that?

vemv12:01:13

https://github.com/clojure-emacs/cider/tags yeah 1.1.0 sounds fairly outdated cider had some breaking change so make sure to also update cider

👌 2
wcalderipe18:01:33

> @UHD67JRL4 Any luck with that? No, unfortunately, I still have the same issue. Thanks for the hint! I'll try to bump CIDER version by version to see if that fixes the problem at some point.

wcalderipe18:01:57

It's working after I bumped CIDER straight to 1.6 and set cljr-inject-dependencies-at-jack-in to nil in my emacs.d Thanks, folks

mister_m23:01:36

is there a writeup anywhere about how the cider debugger was implemented ?

👍 2
bozhidar13:01:50

There’s also this talk, which is probably an even better resource https://drive.google.com/file/d/1YhnPBJOXbUzXfVOEojICFTwhCt_3u6Ss/view