This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-08
Channels
- # adventofcode (60)
- # announcements (3)
- # babashka (31)
- # beginners (5)
- # boot (1)
- # calva (13)
- # cider (9)
- # clj-kondo (1)
- # clojure (135)
- # clojure-italy (18)
- # clojure-nl (18)
- # clojure-spec (21)
- # clojure-uk (11)
- # clojuredesign-podcast (1)
- # clojurescript (47)
- # core-async (14)
- # emacs (7)
- # euroclojure (4)
- # fulcro (3)
- # graalvm (19)
- # off-topic (22)
- # reagent (29)
- # shadow-cljs (25)
- # vim (3)
WARNING: clj-refactor and refactor-nrepl are out of sync. Their versions are 2.5.0-SNAPSHOT (package: 20190618.716) and n/a, respectively.
@UREHT6UJC From the error message it seems that they are not the compatible with each other.
Try to install the latest stable versions. Looking at the repo for clj-refactor
the latest is at 2.4.0
so try to install that version.
I’m guessing that in your emacs config you’ve declared the MELPA
repo somewhere. If that is the case, try to declare and use MELPA stable
. This is just a guess, since I don’t know how you’ve configured your emacs…
@U3SG7RX7A Thanks for the hints. I was able to solve this issue by configuring the refactor-nrepl middleware in shadow-cljs.edn
:nrepl {:port 8777
:middleware [refactor-nrepl.middleware/wrap-refactor]}
Also, I removed the clj-refactor and refactor-nrepl dependencies from project.clj. It seems that cider can inject the correct versions when repl starts, we just have to manually configuring the middleware in shadow-cljs