In https://github.com/nrepl/piggieback readme there's this instruction.
:profiles {:dev {:dependencies [[cider/piggieback "0.4.0"]]
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}}
I have that and also [cider/cider-nrepl "0.19.0"]
dependency. However when I run lein repl
I get this:
[WARNING] No nREPL middleware descriptor in metadata of #'cider.piggieback/wrap-cljs-repl, see clojure.tools.middleware/set-descriptor!
and repl doesn't work. It works when I downgrade cider/piggieback
to 0.3.10But that piggieback version doesn't work in other envrionment so I'm kinda stuck
@roklenarcic You should also use cider-nrepl 0.21
and nREPL 0.6 (lein 2.9.1).
Seems to me you’re using some older Lein/nREPL combo.