This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-07
Channels
- # babashka (30)
- # beginners (49)
- # calva (22)
- # cider (9)
- # clara (2)
- # clj-commons (1)
- # cljdoc (1)
- # clojars (7)
- # clojure (153)
- # clojure-australia (2)
- # clojure-europe (45)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (17)
- # clojure-portugal (3)
- # clojure-uk (6)
- # clojurescript (21)
- # conjure (4)
- # copenhagen-clojurians (5)
- # cryogen (3)
- # cursive (19)
- # datahike (14)
- # datascript (4)
- # datomic (9)
- # events (5)
- # fulcro (23)
- # graalvm (1)
- # gratitude (4)
- # helix (2)
- # holy-lambda (5)
- # improve-getting-started (2)
- # jobs (10)
- # kaocha (1)
- # leiningen (1)
- # liquid (8)
- # membrane (81)
- # off-topic (88)
- # polylith (29)
- # quil (1)
- # reitit (2)
- # remote-jobs (8)
- # reveal (8)
- # sci (1)
- # shadow-cljs (14)
- # specter (4)
- # sql (5)
- # tools-build (11)
- # tools-deps (5)
I have two separate repls (connected to two separate processes) and it doesn't think they're in the same project (C-c M-o doesn't work as a result).
Hmm, what it actually says is "No other REPL in current session" ... so maybe both connections need to be to the same port or something.
Ok, figured it out! My fault for using cider-cljs-connect
instead of cider-cljs-sibling-connect
.
I'm having the issue that my CLJS REPLs always stay in pending state - only related issue I found is this: https://github.com/clojure-emacs/cider/issues/2849 but it does not seem to apply, as there are no invalid ns declarations in the project. I'm using cljs-connect after starting a shadow watch job on the command line which starts the nREPL on 7002. CIDER then asks me to select either shadow or shadow-select, where I choose shadow and then am prompted to choose a build. The weird thing is, after the REPL buffer comes up, when I connect to the app, I can actually issue (js/alerts) and access the app state, but the REPL buffer never associates to the code buffers and the buffer name always has the pending-cljs in it
somewhat interestingly, when I start the REPL with jack in and shadow everything works out fine -> so maybe I am doing with the connect wrong?