This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-09
Channels
- # announcements (3)
- # aws (2)
- # aws-lambda (15)
- # beginners (38)
- # calva (15)
- # cider (17)
- # cljs-dev (2)
- # clojure (44)
- # clojure-dev (17)
- # clojure-spec (4)
- # clojure-sweden (1)
- # clojure-uk (8)
- # clojurescript (122)
- # cursive (19)
- # fulcro (25)
- # jobs-discuss (12)
- # nyc (3)
- # off-topic (20)
- # reagent (1)
- # rewrite-clj (4)
- # shadow-cljs (11)
- # spacemacs (65)
- # tools-deps (1)
- # vim (3)
I used to be able to connect a cljs and a clj repl and have them work flawlessly, now I get an error like this user-error: No clj REPLs in current session "Sites/booma:localhost:5056"
it will work as soon as I bring the clj repl buffer into focus, but then the cljs repl will give me the same error.
sesman info gives me this:
1 Sites/booma:localhost:5056 [*cider-repl %s(cljs)*] linked-to proj(~/Sites/booma/)
2 Sites/booma:localhost:5056#2 [*cider-repl %s(clj)*] linked-to proj(~/Sites/booma/)
so both repls work, but i have to manually open the repl buffer that corresponds to cljs or clj depending on what i’m trying to evaluate
@naomarik When did you start experiencing your problems? There haven’t really been any related updates in CIDER for a while now.
@bozhidar i usually backup my emacs.d directory before updating everything, so it looks like version 0.17.0-snapshot of cider is what i was using before this latest version. The error displays when I use the function cider-switch-to-repl-buffer
If the last repl buffer was a clj repl, and I try to use cider-switch-to-repl-buffer
from a cljs file, I get this error and evaling anything does not work. As soon as I focus the cljs repl buffer, everything is good for cljs, then doing clj stuff breaks until I focus the clj buffer. I have the two repls running at the same time for backend/frontend shown from the sesman info output.
If you’re connected to a cljs and clj repl at same time in the same project, you’re able to evaluate both of them without having to focus the repl buffer of the type you want?
Well, your session data looks correct assuming you’re trying to evaluate code that is in this booma
folder.
didn’t see that, but https://docs.cider.mx/cider/usage/managing_connections.html#_current_repl doesn’t seem to be working for me anymore, does my sesman info look correct? Maybe it’s my setup, I’ll try a new skeleton project later on and see if I get same behavior…
for context i’m launching a boot repl with my boot dev
command and using cider-connect
on it. Then for the cljs one I’m using (figwheel-sidecar.repl-api/cljs-repl "dash")
in one repl to connect to cljs.
I'm starting to experiment with clj/deps.edn and I'm hitting a problem with CIDER where C-c C-k
only works in the buffer where I jack in, it doesn't work when I open sibling files to that file (in the same directory) -- for some reason the repl doesn't attach there. Any idea how I debug that?