Fork me on GitHub
#lein-figwheel
<
2018-07-02
>
twashing03:07:20

For Leiningen 2.8.1 on Java 1.8.0_121, among other things, I have this setup.

:dev {:dependencies [[cider/piggieback "0.3.6"]
                     [org.clojure/tools.nrepl "0.2.13"]
                     [figwheel-sidecar "0.5.16"]
                     [com.bhauman/rebel-readline "0.1.2"]]
      :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
      :resource-paths ["dev-resources"]
      ...

twashing03:07:33

But get this error, when :nrepl-middleware is trying to load piggieback/wrap-cljs-repl

Error loading cider.piggieback: java.lang.NoClassDefFoundError: Could not initialize class cljs.repl__init, compiling:(cider/piggieback.clj:1:1)

twashing03:07:45

Anything obvious that I’m missing?

bhauman12:07:36

@twashing you will have to add cider/piggieback as a dependency

bhauman12:07:47

oops there it is already

bhauman12:07:35

well this is odd as this all looks correct