This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-14
Channels
- # announcements (1)
- # babashka (19)
- # beginners (50)
- # biff (7)
- # calva (6)
- # cider (13)
- # circleci (7)
- # clj-kondo (49)
- # clojure (45)
- # clojure-belgium (1)
- # clojure-europe (2)
- # clojure-indonesia (1)
- # clr (12)
- # datomic (3)
- # events (7)
- # fulcro (4)
- # graphql (2)
- # gratitude (1)
- # instaparse (5)
- # lsp (17)
- # off-topic (26)
- # polylith (15)
- # portal (4)
- # remote-jobs (2)
- # spacemacs (12)
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?I'm using deps.edn
and I don't have refactor-nrepl/refactor-nrepl
installed on either my project nor ~/.clojure/deps.edn
> what's your cider.el version? 1.1.0-snapshot
@UHD67JRL4 Any luck with that?
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
> @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.
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
Only this I think https://docs.cider.mx/cider/debugging/debugger.html#debugger-internals
There’s also this talk, which is probably an even better resource https://drive.google.com/file/d/1YhnPBJOXbUzXfVOEojICFTwhCt_3u6Ss/view