Skip to content

Having issues with cider-nrepl 0.11.0-snapshot + boot + cljs-repl #301

@samedhi

Description

@samedhi

I am using boot, I can correctly cider-connect to my boot repl. I can also start up a cljs repl by typing (start-repl) within cider-repl. I can confirm that this does work because I can see the results of the following:

boot.user> (start-repl)
<< started Weasel server on ws://127.0.0.1:60722 >>
<< waiting for client to connect ... Connection is ws://localhost:60722
Writing boot_cljs_repl.cljs...
 connected! >>
To quit, type: :cljs/quit
nil
cljs.user> (+ 2 3)
5
cljs.user> (js/alert "hello”) ;; The js alert dialog popped up
nil

However, I can’t do any actual cider commands. C-x C-e for instance returns

user-error: `cider-eval-last-sexp' needs a Clojure REPL.
If you don't know what that means, you probably need to jack-in (`C-c M-j’).

Therefore I have downgraded cider-nrepl from [cider/cider-nrepl “0.11.0-snapshot”] to [cider/cider-nrepl "0.10.2”]. The cljs repl now seem to work again, though naturally I am now getting CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.2). Things will break!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions