Fork me on GitHub
Ian Fernandez17:06:12

Hey guys, I'm having a problem on connecting to a cider repl...

ERROR: Unhandled REPL handler exception processing message {:op version, :prefix-rewriting false, :debug false, :session ab137606-0faa-4ed6-86c9-104bc05b32cb, :id 8}
java.lang.IllegalArgumentException: No implementation of method: :send of protocol: #' found for class: nrepl.middleware.caught$caught_transport$reify__22839

Ian Fernandez17:06:25

anyone knows why this stuff happens?

Ian Fernandez17:06:11

I'm starting the REPL like this:

/bin/lein update-in :dependencies conj \[nrepl\ \"0.6.0\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.5.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.22.0-beta6\"\] -- update-in :plugins conj \[nubank/midje-nrepl\ \"1.2.0-SNAPSHOT\"\] -- repl


this happens because some dep of your deps has in it. Run lein deps :tree and see who is bringing in the older Then add an exclusion to your dep

cider 4
❤️ 4
clj 4
Ian Fernandez17:06:15

=)) it was a

Ian Fernandez17:06:21

thanks!!! 😃


of course! happy hacking


I wonder how long will the spirit of tools.nrepl keep haunting us… 😄


Hey there, is it possible to do something like cider-eval-defun-at-point but display de result in the repl?


What I often use is cider-sent-last-sexp-to-repl. There's also cider-send-function-to-repl and a bunch of similar functions.


Interesting, but I can’t find them in the docs, and do not have them available as commands. Are they part of a set of extensions or something?