Fork me on GitHub
#lein-figwheel
<
2018-08-19
>
octahedrion16:08:10

I'm getting Figwheel: Unable to dynamicly load figwheel.server.jetty-websocket/run-server when using clojure -m figwheel.main

bhauman16:08:30

you are using datomic cloud?

bhauman16:08:03

ok hold on

bhauman16:08:15

you have to add org.eclipse.jetty.websocket/websocket-servlet and org.eclipse.jetty.websocket/websocket-server to your deps and they have to be the same version of jetty that datomic cloud uses

octahedrion16:08:48

ok that fixed that - thankyou!

octahedrion16:08:07

now to make my cljs compile with deps.edn

octahedrion17:08:06

what does it mean when it says [Figwheel] Compile Exception: No input matching "thingy.main" ?

octahedrion17:08:46

where thingy is in deps.edn as a :local/root

octahedrion17:08:20

that's the only compilation error I get,

Rebel readline] Type :repl/help for online help info[main] INFO org.eclipse.jetty.util.log - Logging initialized @26016ms to org.eclipse.jetty.util.log.Slf4jLog[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.11.v20180605; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_131-b11[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@8d0253b{/figwheel-connect,null,AVAILABLE}[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@f61f06e{/figwheel-connect,null,AVAILABLE}[main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@7a174e4b{HTTP/1.1,[http/1.1]}{0.0.0.0:9500}[main] INFO org.eclipse.jetty.server.Server - Started @26667ms

octahedrion17:08:30

but I don't get a REPL

octahedrion17:08:42

and my code's not reloading

octahedrion17:08:10

ok i think it's to do with my code-splitting

octahedrion18:08:59

have to say @bhauman Figwheel's error messages are very helpful