cider-nrepl not installed (emacs24)

420 views
Skip to first unread message

Jeff Bauer

unread,
Sep 19, 2015, 11:21:29 AM9/19/15
to Clojure
From emac24 I installed the cider package from melpa, but get the following warning when running the repl:

; CIDER 0.10.0snapshot (package: 20150918.919) (Java 1.7.0_79, Clojure 1.7.0, nREPL 0.2.10)
WARNING: The following required nREPL ops are not supported: 
apropos classpath complete eldoc format-code format-edn info inspect-pop inspect-push inspect-refresh macroexpand ns-list ns-vars ns-path refresh resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.10.0-SNAPSHOT and restart CIDER
ERROR: CIDER's version (0.10.0-snapshot) does not match cider-nrepl's version (not installed). Things will break!

I do not see either a cider-nrepl or nrepl package available on melpa or marmalade.

-Jeff

Mauricio Aldazosa

unread,
Sep 19, 2015, 12:05:01 PM9/19/15
to clo...@googlegroups.com
Hi,

cider-nrepl is some middleware that sits outside emacs. You can use it via leiningen or boot. Take a look at the instructions here: https://github.com/clojure-emacs/cider#cider-nrepl-middleware

Happy hacking,
Mauricio

Bozhidar Batsov

unread,
Sep 19, 2015, 12:45:18 PM9/19/15
to clo...@googlegroups.com
It's usually a good idea to get familiar with the first few sections of any project's README. :-)

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Richard Norton

unread,
Sep 19, 2015, 12:56:33 PM9/19/15
to clo...@googlegroups.com
I ran into a similar problem.

Ended up following the advice here:

Setting ~/.lein/profiles.clj to this helped:
{:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]}}

HTH,

Richard


Jeff Bauer

unread,
Sep 19, 2015, 7:20:43 PM9/19/15
to Clojure
Thanks, Richard.  That got the process started, but it then aborted with:

    error in process filter: nrepl-log-message: Wrong number of arguments: (1 . 1), 0

Since I'm starting with Clojure and there's a users meeting in a couple days,
I'll bring my laptop out to the meeting.  There's no rush to get started on a
project yet, I'm just in the process of getting a decent environment set up
for learning the language.

Thanks for your help.

-Jeff

Artur Malabarba

unread,
Sep 19, 2015, 8:58:14 PM9/19/15
to clo...@googlegroups.com
Try deleting cider, restarting Emacs, and installing it again.
If you had an old version of dash.el installed it may have caused a bad byte-compilation.

Erik Assum

unread,
Sep 20, 2015, 5:46:23 AM9/20/15
to clo...@googlegroups.com
I had to bytecompile nrepl.el (?) in the elpa directory. Reinstalling cider did not help. 

Setting nrepl-log-messages to nil removes the symptoms, but doesn't solve the problem, but it is a nice workaround. 

Am away from my computers, so the names of things are taken from memory, and can therefore not be trusted. 


Erik. 
-- 
i farta
Reply all
Reply to author
Forward
0 new messages