This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-04
Channels
- # 100-days-of-code (1)
- # announcements (1)
- # beginners (51)
- # boot (1)
- # calva (1)
- # cider (16)
- # cljsrn (2)
- # clojure (52)
- # clojure-spec (19)
- # clojure-uk (8)
- # clojurescript (8)
- # events (1)
- # figwheel-main (8)
- # fulcro (57)
- # midje (1)
- # nrepl (10)
- # off-topic (38)
- # pedestal (4)
- # portkey (1)
- # reagent (3)
- # reitit (4)
- # spacemacs (8)
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.
Is this because some of my earlier dependency if removing this websocket server?
Found the reason. Should have set :pedantic? :abort
from the start.
@narendraj9521 was it a transitive dep?
ring-core
and compojure
were fetching different versions of jetty-webserver
. I think.
Setting up fighweel-main
in a project that is not derived from a template and using it with cider is not easy yet.
Now, the launched browser page is not finding my ClojureScript namespace.
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.