Fork me on GitHub
#lein-figwheel
<
2018-03-15
>
grounded_sage00:03:16

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

bhauman00:03:35

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

fdserr14:03:35

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:(
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.

fdserr14:03:19

How to reproduce:

$ lein new figwheel dat-no-like-fig
$ cd dat-no-like-fig
$ lein figwheel
==>>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"]] ; <- added (jar is installed)
...
quit and restart figwheel
bam!
(see above)