Fork me on GitHub
#cider
<
2016-02-21
>
samedhi04:02:12

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’).
Any idea what is going wrong?

benedek08:02:15

my first guess is that you don't have cider-nrepl on your classpath

samedhi20:02:44

@benedek: Not really sure, 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!

benedek20:02:04

not sure then. and not really an expert on working with boot for cljs. you perhaps better file an issue on cider github

samedhi20:02:28

Will do, thank you.