Fork me on GitHub
#figwheel-main
<
2018-07-29
>
euccastro17:07:41

there seems to be an incompatibility between com.datomic/client-cloud {:mvn/version "0.8.54"} and com.bhauman/figwheel-main {:mvn/version "0.1.4"}. If I have both at my deps.edn :dependencies at the same time, I get this exception when trying to start figwheel-main

euccastro17:07:24

if I comment out the datomic dependency this doesn't happen and figwheel starts fine

bhauman17:07:31

@euccastro unfortunately this is true, but there is a solution you have to exclude org.eclipse.jetty.websocket/websocket-servlet org.eclipse.jetty.websocket/websocket-server org.eclipse.jetty/jetty-server

bhauman17:07:39

from figwheel main

bhauman17:07:42

and then require org.eclipse.jetty.websocket/websocket-servlet and org.eclipse.jetty.websocket/websocket-server in the same version as the one used in com.datomic/client-cloud

bhauman17:07:12

figwheel-main is inline with ring-jetty-adapter

euccastro17:07:24

don't I need to require org.eclipse.jetty/jetty-server too?

euccastro17:07:39

or will that be required transitively?

bhauman17:07:44

I'm assuming that client cloud is brining it in

euccastro17:07:05

ah ok thanks

bhauman17:07:15

you may have to tinker a bit

bhauman17:07:31

but we should find an official solution and put it in the readme

bhauman17:07:46

as this seems like it could be a common problem