This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-07
Channels
- # aleph (10)
- # announcements (6)
- # architecture (23)
- # atom-editor (2)
- # beginners (35)
- # biff (5)
- # cljdoc (22)
- # clojure (14)
- # clojure-europe (18)
- # clojure-hungary (26)
- # clojure-nl (6)
- # clojure-uk (6)
- # clojurescript (39)
- # core-async (1)
- # data-science (14)
- # datascript (20)
- # datomic (4)
- # graalvm (18)
- # jobs-discuss (5)
- # keechma (1)
- # leiningen (4)
- # malli (3)
- # nbb (11)
- # nextjournal (2)
- # off-topic (1)
- # parinfer (1)
- # releases (1)
- # remote-jobs (3)
- # shadow-cljs (7)
- # sql (2)
- # xtdb (4)
@pat561 looks like you are using :js-provider :external
. must make sure that the :external-index
file is loaded before the CLJS output, it provides the shadow$bridge
function
@U05224H0W BIG LOVE for the help! It wasn’t a shadow problem. It was a webpack thing. I was looking in the wrong place until you straightened me out. So thanks!👍
Perhaps a bit soon… I still get the websocket connection error.
WebSocket connection to ‘<ws://example.com:9630/api/remote-relay?server-token=e0a23750-25c2-4870-900f-12345678>’ failed:
shadow$cljs$devtools$client$websocket$start @ websocket.cljs:12
eval @ shared.cljs:324
shadow$cljs$devtools$client$shared$init_runtime_BANG_ @ shared.cljs:509
eval @ browser.cljs:337
goog.globalEval @ live.js:472
env.evalLoad @ live.js:1533
(anonymous) @ live.js:1777
I start getting errors after all data has finished loading. It’s refresh to load at this point.
EDIT 1:
I had a nice walk and it came to me… I’ve got to allow websocket traffic on 9630. I’m not sure how to do this, but at this point it’s most def not your problem. Cheers!
EDIT 2: That was crazy easy! I’m super impressed with how well designed this tool is.
you can also set :devtools-url "
(or whereever shadow-cljs actually runs) if you don't want to proxy 9630 https://shadow-cljs.github.io/docs/UsersGuide.html#proxy-support