This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-19
Channels
- # aws (2)
- # babashka (4)
- # babashka-sci-dev (7)
- # beginners (92)
- # biff (7)
- # calva (64)
- # cider (2)
- # cljsrn (14)
- # clojure (8)
- # clojure-australia (5)
- # clojure-europe (14)
- # clojure-norway (8)
- # clojure-spec (36)
- # clojurescript (19)
- # component (15)
- # cursive (1)
- # data-science (6)
- # girouette (5)
- # hyperfiddle (3)
- # juxt (5)
- # leiningen (10)
- # lsp (7)
- # malli (12)
- # nbb (90)
- # polylith (1)
- # portal (11)
- # rdf (7)
- # reagent (6)
- # reitit (40)
- # remote-jobs (1)
- # shadow-cljs (21)
- # specter (5)
- # squint (83)
- # tools-deps (17)
- # vim (7)
I’m having trouble cider-inspect
ing with a shadow cljs app. I’ve narrowed the problem to cider-nrepl-send-sync-request
returning the evaluation result in an unexpected form. I’ve compared it to another non-js app where inspecting works.
working nREPL return value: (\"Class\" \": \" (:value \"clojure.lang.PersistentArrayMap\" 0) (:newline) \"Contents: \" (:newline) ...
erroring nREPL return value: { :id "abc" … }
The former is in an Elisp-parsable form; the latter is a direct Clojure representation.
as far as i know, cider-inspect doesn't always play nice with shadow-cljs. The easiest thing is to use shadow's built in inspect console with tap>, or you could look at portal or reveal.