lein-figwheel

twashing 2018-07-02T03:30:20.000134Z

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"]
      ...

twashing 2018-07-02T03:30:33.000111Z

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)

twashing 2018-07-02T03:30:45.000080Z

Anything obvious that I’m missing?

bhauman 2018-07-02T12:17:36.000337Z

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

bhauman 2018-07-02T12:17:47.000059Z

oops there it is already

bhauman 2018-07-02T12:21:35.000229Z

well this is odd as this all looks correct