Fork me on GitHub
#figwheel-main
<
2018-11-04
>
narendraj913:11:43

I am getting Caused by: clojure.lang.ExceptionInfo: Figwheel: Unable to dynamicly load figwheel.server.jetty-websocket/run-server {:not-loaded figwheel.server.jetty-websocket/run-server}. I have added exactly the same :dev dependencies to my project that the figwheel-main template has.

narendraj913:11:09

Is this because some of my earlier dependency if removing this websocket server?

narendraj913:11:50

Found the reason. Should have set :pedantic? :abort from the start.

pesterhazy13:11:11

@narendraj9521 was it a transitive dep?

narendraj913:11:06

ring-core and compojure were fetching different versions of jetty-webserver. I think.

narendraj913:11:47

Setting up fighweel-main in a project that is not derived from a template and using it with cider is not easy yet.

narendraj913:11:42

Now, the launched browser page is not finding my ClojureScript namespace.

narendraj914:11:17

I have a call to a function in my index.html that is served by my ring handler provided to figwheel-main with :ring-handler config option. I can see that the server is starting up and serving requests defined in the routes that I have. But for some reason, the call to the main ClojureScript function in index.html doesn't find the namespace and I get an error saying that the <ns> is undefined.