lein-figwheel

octahedrion 2018-08-19T16:01:10.000100Z

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

bhauman 2018-08-19T16:01:30.000100Z

you are using datomic cloud?

octahedrion 2018-08-19T16:01:36.000200Z

yes

bhauman 2018-08-19T16:01:42.000100Z

so funny

bhauman 2018-08-19T16:02:03.000100Z

ok hold on

bhauman 2018-08-19T16:03:15.000100Z

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

bhauman 2018-08-19T16:03:35.000100Z

@octo221 ^

octahedrion 2018-08-19T16:05:29.000100Z

right

octahedrion 2018-08-19T16:23:48.000100Z

ok that fixed that - thankyou!

octahedrion 2018-08-19T16:24:07.000100Z

now to make my cljs compile with deps.edn

octahedrion 2018-08-19T17:33:06.000100Z

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

octahedrion 2018-08-19T17:33:46.000100Z

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

octahedrion 2018-08-19T17:35:20.000100Z

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

octahedrion 2018-08-19T17:35:30.000100Z

but I don't get a REPL

octahedrion 2018-08-19T17:35:42.000100Z

and my code's not reloading

octahedrion 2018-08-19T17:43:10.000100Z

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

octahedrion 2018-08-19T18:30:59.000100Z

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