I’ve been out of the Clojure ecosystem for a while. Is figwheel still lein only?
You don't need lein to use figwheel, but its still the easiest way to get started.
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.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)