I'm editing a ClojureScript file, and I have a working ClojureScript REPL in another buffer. But when I try to evaluate a form in my file ui.cljs
, with C-c C-c
, I get a beep an a message in the mini-buffer that says
No cljs REPLs in current session "MyProjectDir/MyProject:localhost:59437
I don't really understand what that means, but it appears that my ui.cljs
file got associated with the wrong REPL - the Clojure REPL, not the CLJS REPL.
CIDER Sessions:
1: MyProjectDir/MyProject:localhost:59437
linked-to: buf(ui.cljs)
objects: *cider-repl %s(clj)*
2: MyProjectDir/MyProject:localhost:60016
linked-to: >proj(~/Workspace/MyProjectDir/MyProject/)
objects: *cider-repl %s(cljs:weasel)*
I try to "unlink" it by running the sesman-unlink
command in the ui.cljs
buffer. But I only get a beep and a cryptic error message in the minibuffer:
Wrong type argument: stringp, #<buffer ui.cljs>
How to associate that ui.cljs
file/buffer with the correct REPL?
Emacs 25.3.1 on macOS. CIDER 0.19.0