This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-20
Channels
- # announcements (5)
- # aws (15)
- # babashka (12)
- # beginners (87)
- # calva (13)
- # cider (16)
- # clj-kondo (4)
- # clojure (22)
- # clojure-argentina (1)
- # clojure-europe (9)
- # clojure-houston (1)
- # clojure-nl (2)
- # clojure-norway (25)
- # clojure-uk (5)
- # clojurescript (12)
- # core-typed (37)
- # cursive (15)
- # datomic (40)
- # editors (8)
- # emacs (4)
- # events (1)
- # hyperfiddle (29)
- # keechma (8)
- # leiningen (6)
- # lsp (7)
- # malli (25)
- # off-topic (26)
- # pathom (10)
- # portal (3)
- # re-frame (22)
- # reitit (1)
- # releases (1)
- # ring (2)
- # shadow-cljs (18)
- # yamlscript (1)
The shadow UI is hanging on "Loading..." in Chrome and I see this in the console:
api/ui-init-data:1
Failed to load resource: the server responded with a status of 404 (Not Found)
dashboard:1 Uncaught SyntaxError: Unexpected token 'N', "Not found." is not valid JSON
at JSON.parse (<anonymous>)
at eD.read (writer.js:497:12)
at append.js:3:47
at datetimeformat.js:147:28
at u.onload (timezone.js:52:33)
It works in Firefoxwhat do the devtools say? Not found is weird? not found for what? which request gets that?
Yeah it was the api/ui-init-data
resource, but it's working now? I had to refresh it a couple of times but all good now :man-shrugging::skin-tone-2:
I can reproduce this when I'm using it as a browser extension tho
I have no clue. I don't know how that would ever return 404. do you have some kind of proxy or so active?
no clue. which shadow-cljs version is this? does this give you a 404 if you just curl
?
2.17.8, which I think is really ancient but out of my control atm. curl
also returns Not found
I assume it works if you open http://localhost:9630 as a regular browser tab?
which I haven't touched in a long time https://github.com/thheller/shadow-cljs/blame/master/src/main/shadow/cljs/devtools/client/env.cljs#L65-L71
I'm hoping to get our CLJS and shadow deps bumped soon, but the standalone UI works great as usual for now. thanks!