lein-figwheel

grounded_sage 2018-03-15T00:09:16.000077Z

I’ve been out of the Clojure ecosystem for a while. Is figwheel still lein only?

bhauman 2018-03-15T00:13:35.000240Z

You don't need lein to use figwheel, but its still the easiest way to get started.

👍 3
fdserr 2018-03-15T14:09:35.000312Z

Hi figwheelers. My FW build blows up when I add a dep to Datomic:

Figwheel: Cutting some fruit, just a sec ...
Exception in thread "main" java.lang.ExceptionInInitializerError
        at clojure.main.<clinit>(main.java:20)
Caused by: java.lang.NoSuchMethodError: com.google.common.base.Precondition
s.checkState(ZLjava/lang/String;Ljava/lang/Object;)V, compiling:(<http://closure.cl|closure.cl>
j:100:1)
... (much more crap, will provide it for free if needed)
Tried to downgrade with no avail. Thanks in advance if you can help.

fdserr 2018-03-15T14:17:19.000382Z

How to reproduce:

$ lein new figwheel dat-no-like-fig
$ cd dat-no-like-fig
$ lein figwheel
==&gt;&gt;sweetness
Edit project.clj
...
  :dependencies [[org.clojure/clojure "1.9.0"]
                 [org.clojure/clojurescript "1.9.946"]
                 [org.clojure/core.async  "0.4.474"]
                 [com.datomic/datomic-free "0.9.5661"]] ; &lt;- added (jar is installed)
...
quit and restart figwheel
bam!
(see above)