Fork me on GitHub
#figwheel
<
2019-07-04
>
Oliver George00:07:33

People using deps.edn and cursive... what's your ultimate figwheel setup? I feel like I'm suffering stability and limited functionality with this approach.

ivana12:07:08

Hello. I try to run figwheel project from re-frame template, everything works fine until I add datomic to deps. In this case lein figwheel dev falls with

Figwheel: Cutting some fruit, just a sec ...
Syntax error (NoSuchMethodError) compiling at (figwheel_sidecar/repl.clj:1:1).
com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
I tried to exclude some and set exact versions (I found this in internet)
[com.datomic/datomic-pro "0.9.5927"
                  :exclusions
                  [org.eclipse.jetty/jetty-http
                   org.eclipse.jetty/jetty-util
                   org.eclipse.jetty/jetty-client
                   org.eclipse.jetty/jetty-io]]
                 ;; directly specify all jetty dependencies
		             ;; ensure all the dependencies have the same version
                 [org.eclipse.jetty/jetty-server                "9.4.12.v20180830"]
                 [org.eclipse.jetty.websocket/websocket-servlet "9.4.12.v20180830"]
                 [org.eclipse.jetty.websocket/websocket-server  "9.4.12.v20180830"]

ivana12:07:34

but the problem still the same. What can I do?