This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-17
Channels
- # bangalore-clj (1)
- # beginners (70)
- # boot (1)
- # cider (39)
- # cljs-dev (69)
- # clojure (56)
- # clojure-dev (1)
- # clojure-norway (1)
- # clojure-russia (4)
- # clojure-spec (1)
- # clojure-uk (10)
- # clojurescript (34)
- # clr (3)
- # community-development (3)
- # component (1)
- # datascript (1)
- # datomic (7)
- # emacs (1)
- # figwheel (3)
- # fulcro (5)
- # graphql (2)
- # hoplon (75)
- # jobs (4)
- # jobs-discuss (1)
- # luminus (15)
- # planck (3)
- # portkey (55)
- # re-frame (2)
- # reagent (2)
- # reitit (3)
- # ring (13)
- # ring-swagger (1)
- # shadow-cljs (72)
- # spacemacs (4)
- # tools-deps (2)
- # unrepl (7)
- # vim (2)
Hi there. figwheel 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.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)
some progress on my bridge project here: https://www.stuttaford.me/2018/03/17/bridge-dev-diary--modelling-access/ of relevance is my experience using Datomic Peer and Client together. may be of interest if you’re using one and considering switching to the Client API for Cloud later
Thanks for sharing! Your project has some great datomic starter code and is a good modern example. I'll be copying your abstraction over the peer and client libs for an upcoming project. 🙂
most welcome!
I had asked a related question earlier. I am facing an issue again. So, I am using pedestal + datomic cloud. My datomic cloud is up and running and I am able to connect my pedestal app when I run the app at my local machine (with socks proxy). Now, I am trying to deploy the pedestal app on aws/heroku and I am getting Connection refused
error. What config I am missing?