Fork me on GitHub
#nrepl
<
2019-04-12
>
roklenarcic09:04:39

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.10

roklenarcic09:04:10

But that piggieback version doesn't work in other envrionment so I'm kinda stuck

bozhidar15:04:30

@roklenarcic You should also use cider-nrepl 0.21 and nREPL 0.6 (lein 2.9.1).

bozhidar15:04:15

Seems to me you’re using some older Lein/nREPL combo.