New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIDER erroneously complaining about cider-nrepl version #961

Closed
canweriotnow opened this Issue Jan 28, 2015 · 65 comments

Comments

Projects
None yet
@canweriotnow

canweriotnow commented Jan 28, 2015

I've done everything up to and including reverting to stable, moving cider/cider-nrepl requirement to project.clj instead of .lein/profiles.clj, and clobbering my .emacs.d and doinf a fresh prelude install.

In every case, I get the following:

CIDER:

; CIDER 0.9.0snapshot (package: 20150126.1253) (Java 1.8.0_25, Clojure 1.7.0-alpha5, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported: 
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.9.0-SNAPSHOT and restart CIDER
clerestory.repl> 

I've wiped my ~/.m2 and reinstalled cider-nrepl with lein-deps just to be sure, and I have the latest cider-nrepl from clojars.
lein deps :tree:

[cider/cider-nrepl "0.9.0-20150118.121230-2"]
   [cljs-tooling "0.1.3" :exclusions [[org.clojure/clojure]]]
   [compliment "0.2.1-20141130.115631-1" :exclusions [[org.clojure/clojure]]]
     [defprecated "0.1.1"]
   [org.clojure/java.classpath "0.2.0" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.namespace "0.2.5" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.trace "0.7.8" :exclusions [[org.clojure/clojure]]]
   [org.tcrawley/dynapath "0.2.3" :exclusions [[org.clojure/clojure]]]

I've been trying various combinations for about 3 hours now. It's only been an issue since I ran M-x prelude-update yesterday.

Filing here since I'm guessing it's a CIDER issue (rather than cider-nrepl), but any suggestions are welcome.

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Jan 28, 2015

Member

Can't imagine what could have caused this. There have been only very small changes the past couple of months.

Member

bbatsov commented Jan 28, 2015

Can't imagine what could have caused this. There have been only very small changes the past couple of months.

@sunng87

This comment has been minimized.

Show comment
Hide comment
@sunng87

sunng87 Feb 2, 2015

Having the same issue from me. I'm on MELPA channel and current cider version is 20150201 and cider-nrepl is updated to snapshot of 20150201. The issue is still there.

Also this breaks functionalities like alt+.

sunng87 commented Feb 2, 2015

Having the same issue from me. I'm on MELPA channel and current cider version is 20150201 and cider-nrepl is updated to snapshot of 20150201. The issue is still there.

Also this breaks functionalities like alt+.

@scottdw

This comment has been minimized.

Show comment
Hide comment
@scottdw

scottdw Feb 2, 2015

Contributor

Is this from a fresh install of the cider emacs package or from an update? If it is from an update I would suggest removing the cider package and reinstalling it (possibly restarting emacs in between actions). From #646 it seems that there can be issues byte compiling on upgrade.

Contributor

scottdw commented Feb 2, 2015

Is this from a fresh install of the cider emacs package or from an update? If it is from an update I would suggest removing the cider package and reinstalling it (possibly restarting emacs in between actions). From #646 it seems that there can be issues byte compiling on upgrade.

@sunng87

This comment has been minimized.

Show comment
Hide comment
@sunng87

sunng87 Feb 2, 2015

Thanks @scottdw , I have reinstalled cider but the issue is still there. I am getting warning:

; CIDER 0.9.0snapshot (package: 20150201.1117) (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

sunng87 commented Feb 2, 2015

Thanks @scottdw , I have reinstalled cider but the issue is still there. I am getting warning:

; CIDER 0.9.0snapshot (package: 20150201.1117) (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

@scottdw

This comment has been minimized.

Show comment
Hide comment
@scottdw

scottdw Feb 2, 2015

Contributor

Are you adding cider-nrepl to :dependencies or :plugins in your lein profiles.clj/project.clj? It should be under :plugins.

Contributor

scottdw commented Feb 2, 2015

Are you adding cider-nrepl to :dependencies or :plugins in your lein profiles.clj/project.clj? It should be under :plugins.

@ck

This comment has been minimized.

Show comment
Hide comment
@ck

ck Feb 2, 2015

FWIW, I have same issue:

; CIDER 0.9.0snapshot (package: 20150201.1117) (Java 1.7.0_71, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:  
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-    reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

Reinstalled Prelude and cider-nrepl as well without luck.

ck commented Feb 2, 2015

FWIW, I have same issue:

; CIDER 0.9.0snapshot (package: 20150201.1117) (Java 1.7.0_71, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:  
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-    reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

Reinstalled Prelude and cider-nrepl as well without luck.

@scottdw

This comment has been minimized.

Show comment
Hide comment
@scottdw

scottdw Feb 2, 2015

Contributor

Please post your profiles.clj or project.clj, wherever you are referencing [cider/cider-nrepl "0.9.0-SNAPSHOT"]

Contributor

scottdw commented Feb 2, 2015

Please post your profiles.clj or project.clj, wherever you are referencing [cider/cider-nrepl "0.9.0-SNAPSHOT"]

@sunng87

This comment has been minimized.

Show comment
Hide comment
@sunng87

sunng87 Feb 2, 2015

my profiles.clj:

{:user
 {:plugins [[environ/environ.lein "0.3.0"]
            [lein-set-version "0.4.1"]
            [lein-simpleton "1.1.0"]
            [lein-try "0.4.1"]
            [lein-ancient "0.5.5"]
            [cider/cider-nrepl "0.9.0-SNAPSHOT"]
            [venantius/ultra "0.1.9"]]

  :hooks [environ.leiningen.hooks]}}

sunng87 commented Feb 2, 2015

my profiles.clj:

{:user
 {:plugins [[environ/environ.lein "0.3.0"]
            [lein-set-version "0.4.1"]
            [lein-simpleton "1.1.0"]
            [lein-try "0.4.1"]
            [lein-ancient "0.5.5"]
            [cider/cider-nrepl "0.9.0-SNAPSHOT"]
            [venantius/ultra "0.1.9"]]

  :hooks [environ.leiningen.hooks]}}
@scottdw

This comment has been minimized.

Show comment
Hide comment
@scottdw

scottdw Feb 2, 2015

Contributor

The only way I can reproduce this error is if I incorrectly specify cider-nrepl under :dependencies rather than :plugins. But your profiles.clj looks fine so I'm running out of ideas.

Contributor

scottdw commented Feb 2, 2015

The only way I can reproduce this error is if I incorrectly specify cider-nrepl under :dependencies rather than :plugins. But your profiles.clj looks fine so I'm running out of ideas.

@ck

This comment has been minimized.

Show comment
Hide comment
@ck

ck Feb 2, 2015

Thanks to sunng87 posting his profiles file and comparing it to mine, I think I found the culprit.

If I comment out venantius/ultra, cider starts up normally.

ck commented Feb 2, 2015

Thanks to sunng87 posting his profiles file and comparing it to mine, I think I found the culprit.

If I comment out venantius/ultra, cider starts up normally.

@sunng87

This comment has been minimized.

Show comment
Hide comment
@sunng87

sunng87 Feb 2, 2015

Exactly!

sunng87 commented Feb 2, 2015

Exactly!

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Feb 2, 2015

Member

Guess this ultra project's doing something nREPL related as well. I'm not familiar with it.

Member

bbatsov commented Feb 2, 2015

Guess this ultra project's doing something nREPL related as well. I'm not familiar with it.

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Feb 2, 2015

Member

ultra depends on a lot of things, so I'm not surprised it's causing breakages. Guess someone should report the CIDER issue upstream.

Member

bbatsov commented Feb 2, 2015

ultra depends on a lot of things, so I'm not surprised it's causing breakages. Guess someone should report the CIDER issue upstream.

@anildigital

This comment has been minimized.

Show comment
Hide comment
@anildigital

anildigital Feb 14, 2015

I am also getting this error.

cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

I am not using ultra.

anildigital commented Feb 14, 2015

I am also getting this error.

cider-nrepl 0.9.0-SNAPSHOT and restart CIDER

I am not using ultra.

@expez

This comment has been minimized.

Show comment
Hide comment
@expez

expez Feb 14, 2015

Member

@anildigital are you using pretty?

Afaik that's the specific dep in ultra that's causing trouble.

Member

expez commented Feb 14, 2015

@anildigital are you using pretty?

Afaik that's the specific dep in ultra that's causing trouble.

@anildigital

This comment has been minimized.

Show comment
Hide comment
@anildigital

anildigital Feb 15, 2015

@expez nope, I am not using pretty.

anildigital commented Feb 15, 2015

@expez nope, I am not using pretty.

@venantius

This comment has been minimized.

Show comment
Hide comment
@venantius

venantius Feb 16, 2015

Ultra author, here. I don't believe it's pretty; I think it's Whidbey and the nREPL middleware that are the root of the issue. At the moment it's not quite clear how the two are interfering with each other, though my guess is that Ultra does something with the nREPL middleware that causes CIDER to get the boot. I'm not an emacs user so I'm afraid I'm fairly unfamiliar with CIDER's configuration; I'd love to get this working for people, though.

venantius commented Feb 16, 2015

Ultra author, here. I don't believe it's pretty; I think it's Whidbey and the nREPL middleware that are the root of the issue. At the moment it's not quite clear how the two are interfering with each other, though my guess is that Ultra does something with the nREPL middleware that causes CIDER to get the boot. I'm not an emacs user so I'm afraid I'm fairly unfamiliar with CIDER's configuration; I'd love to get this working for people, though.

@nickzam

This comment has been minimized.

Show comment
Hide comment
@nickzam

nickzam Feb 19, 2015

Hi, same problem here, I am using emacs-live with cider 0.8.1

; CIDER 0.8.1 (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.8.1 and restart CIDER
user>

my profiles.clj:
{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

I don't have :plugins section in my project.clj. Also I am not using venantius/ultra and pretty.
Cleaning ~/.m2 and reinstalling cider-nrepl doesn't help.

nickzam commented Feb 19, 2015

Hi, same problem here, I am using emacs-live with cider 0.8.1

; CIDER 0.8.1 (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.8.1 and restart CIDER
user>

my profiles.clj:
{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

I don't have :plugins section in my project.clj. Also I am not using venantius/ultra and pretty.
Cleaning ~/.m2 and reinstalling cider-nrepl doesn't help.

@venantius

This comment has been minimized.

Show comment
Hide comment
@venantius

venantius Feb 22, 2015

I believe the latest release of Ultra, 0.2.1, should fix this. For those of you feeling adventurous, please update and let me know if you're still experiencing the issue.

venantius commented Feb 22, 2015

I believe the latest release of Ultra, 0.2.1, should fix this. For those of you feeling adventurous, please update and let me know if you're still experiencing the issue.

@venantius

This comment has been minimized.

Show comment
Hide comment
@venantius

venantius Feb 22, 2015

Pinging @bbatsov so he can close this if my assumptions prove correct.

venantius commented Feb 22, 2015

Pinging @bbatsov so he can close this if my assumptions prove correct.

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Feb 22, 2015

Member

@venantius Thanks for looking into this! I'll close the ticket as soon as someone confirms the problem's no more.

Member

bbatsov commented Feb 22, 2015

@venantius Thanks for looking into this! I'll close the ticket as soon as someone confirms the problem's no more.

@tsdh

This comment has been minimized.

Show comment
Hide comment
@tsdh

tsdh Mar 2, 2015

Contributor

Not sure if I have the same problem but since a week or so I get the following warning after cider-jack-in.

; CIDER 0.9.0snapshot (package: 20150301.936) (Java 1.8.0_31, Clojure 1.7.0-alpha5, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 to work properly

I don't have explicit deps for nREPL but only for cider-nrepl in my ~/.lein/profiles.clj.

{:user {:plugins [[lein-ancient "0.6.3"]
                  [cider/cider-nrepl "0.9.0-SNAPSHOT"]
                  [jonase/eastwood "0.2.1"]
                  [lein-try "0.4.3"]]
        :dependencies [[im.chit/vinyasa "0.3.3"]
                       [spyscope "0.1.5"]
                       [org.clojars.gjahad/debug-repl "0.3.3"]
                       [criterium "0.4.3"]
                       [org.clojure/tools.namespace "0.2.10"]]
        :injections [;; See https://github.com/zcaudate/vinyasa
                     (require 'vinyasa.inject)
                     ;; See https://github.com/dgrnbrg/spyscope
                     (require 'spyscope.core)
                     ;; See https://github.com/georgejahad/debug-repl
                     (require 'alex-and-georges.debug-repl)
                     (vinyasa.inject/in
                      [clojure.repl doc source]
                      [clojure.pprint pprint pp]
                      [clojure.tools.namespace.repl refresh refresh-all]
                      [criterium.core bench quick-bench]
                      [alex-and-georges.debug-repl debug-repl])]}
 :docs {:plugins [[lein-html5-docs "2.2.0"]
                  [lein-marginalia "0.8.0"]]}}
Contributor

tsdh commented Mar 2, 2015

Not sure if I have the same problem but since a week or so I get the following warning after cider-jack-in.

; CIDER 0.9.0snapshot (package: 20150301.936) (Java 1.8.0_31, Clojure 1.7.0-alpha5, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 to work properly

I don't have explicit deps for nREPL but only for cider-nrepl in my ~/.lein/profiles.clj.

{:user {:plugins [[lein-ancient "0.6.3"]
                  [cider/cider-nrepl "0.9.0-SNAPSHOT"]
                  [jonase/eastwood "0.2.1"]
                  [lein-try "0.4.3"]]
        :dependencies [[im.chit/vinyasa "0.3.3"]
                       [spyscope "0.1.5"]
                       [org.clojars.gjahad/debug-repl "0.3.3"]
                       [criterium "0.4.3"]
                       [org.clojure/tools.namespace "0.2.10"]]
        :injections [;; See https://github.com/zcaudate/vinyasa
                     (require 'vinyasa.inject)
                     ;; See https://github.com/dgrnbrg/spyscope
                     (require 'spyscope.core)
                     ;; See https://github.com/georgejahad/debug-repl
                     (require 'alex-and-georges.debug-repl)
                     (vinyasa.inject/in
                      [clojure.repl doc source]
                      [clojure.pprint pprint pp]
                      [clojure.tools.namespace.repl refresh refresh-all]
                      [criterium.core bench quick-bench]
                      [alex-and-georges.debug-repl debug-repl])]}
 :docs {:plugins [[lein-html5-docs "2.2.0"]
                  [lein-marginalia "0.8.0"]]}}
@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Mar 2, 2015

Member

The current stable lein pulls in 0.2.6, which is buggy. Most things will work fine, but one still needs 0.2.7 (especially for ClojureScript) for absolutely everything to work as it's supposed to. So, until we have a new lein release people will have to deal with this manually.

Member

bbatsov commented Mar 2, 2015

The current stable lein pulls in 0.2.6, which is buggy. Most things will work fine, but one still needs 0.2.7 (especially for ClojureScript) for absolutely everything to work as it's supposed to. So, until we have a new lein release people will have to deal with this manually.

@tsdh

This comment has been minimized.

Show comment
Hide comment
@tsdh

tsdh Mar 2, 2015

Contributor

@bbatsov Ah, thank you.

Contributor

tsdh commented Mar 2, 2015

@bbatsov Ah, thank you.

@nklein

This comment has been minimized.

Show comment
Hide comment
@nklein

nklein Mar 27, 2015

@bbatsov, How does one "deal with this manually"? I tried this recommendation and did not get it to work. My entire ~/.lein/profiles.clj is:

{:user {:plugins [[cider/cider-nrepl "0.9.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.7"]]}}

And, I know it is getting read because it wigs out if I try asking for version 9.2.7 instead of 0.2.7. Thanks.

nklein commented Mar 27, 2015

@bbatsov, How does one "deal with this manually"? I tried this recommendation and did not get it to work. My entire ~/.lein/profiles.clj is:

{:user {:plugins [[cider/cider-nrepl "0.9.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.7"]]}}

And, I know it is getting read because it wigs out if I try asking for version 9.2.7 instead of 0.2.7. Thanks.

@expez

This comment has been minimized.

Show comment
Hide comment
@expez

expez Mar 27, 2015

Member

AFAIK there's nothing to be done about this due to the way lookup in the classloader chain works. Since the classloader at the top of the hierarchy is checked first, and Lein owns one of those, whatever version lein loads is what you get (I think lein loads 0.2.6 atm, but that's changed on master).

Member

expez commented Mar 27, 2015

AFAIK there's nothing to be done about this due to the way lookup in the classloader chain works. Since the classloader at the top of the hierarchy is checked first, and Lein owns one of those, whatever version lein loads is what you get (I think lein loads 0.2.6 atm, but that's changed on master).

@expez

This comment has been minimized.

Show comment
Hide comment
@expez

expez Apr 28, 2015

Member

@paomian to force an update of the middleware (or any other snapshot dependency) you can do lein -U repl in your project directory.

Member

expez commented Apr 28, 2015

@paomian to force an update of the middleware (or any other snapshot dependency) you can do lein -U repl in your project directory.

@paomian

This comment has been minimized.

Show comment
Hide comment
@paomian

paomian Apr 28, 2015

Hi expez,i run the lein -U repl in my project directory,but it's seem to be useless.

paomian commented Apr 28, 2015

Hi expez,i run the lein -U repl in my project directory,but it's seem to be useless.

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Apr 28, 2015

Member

Try again. I had forgotten to upload the new snapshot to clojars. :-)

Member

bbatsov commented Apr 28, 2015

Try again. I had forgotten to upload the new snapshot to clojars. :-)

@paomian

This comment has been minimized.

Show comment
Hide comment
@paomian

paomian Apr 28, 2015

bbatsov,expez,thanks:-),it work for me.

paomian commented Apr 28, 2015

bbatsov,expez,thanks:-),it work for me.

@martinvlk

This comment has been minimized.

Show comment
Hide comment
@martinvlk

martinvlk Apr 29, 2015

I observe the same thing as @Davidbhodge - within a project the version of tools.nrepl specified in my .lein/profiles.clj is used as expected. If I start cider outside a project, then 0.2.6 is used and cider complains.
M.

martinvlk commented Apr 29, 2015

I observe the same thing as @Davidbhodge - within a project the version of tools.nrepl specified in my .lein/profiles.clj is used as expected. If I start cider outside a project, then 0.2.6 is used and cider complains.
M.

@expez

This comment has been minimized.

Show comment
Hide comment
@expez

expez Apr 29, 2015

Member

@martinvlk there's nothing we can do about the version of nrepl that lein specifies in its base profile. I don't know if profiles.clj is supposed to be used or not when running lein outside a project. You might file a bug with lein if you think it's doing the wrong thing to do.

Member

expez commented Apr 29, 2015

@martinvlk there's nothing we can do about the version of nrepl that lein specifies in its base profile. I don't know if profiles.clj is supposed to be used or not when running lein outside a project. You might file a bug with lein if you think it's doing the wrong thing to do.

@sooheon

This comment has been minimized.

Show comment
Hide comment
@sooheon

sooheon Jun 10, 2015

Not sure if this is closed because it was fixed for everyone else, but for my case at least, this dependency conflict with figwheel seems to be the problem:
bhauman/lein-figwheel#149

sooheon commented Jun 10, 2015

Not sure if this is closed because it was fixed for everyone else, but for my case at least, this dependency conflict with figwheel seems to be the problem:
bhauman/lein-figwheel#149

@manuel-uberti

This comment has been minimized.

Show comment
Hide comment
@manuel-uberti

manuel-uberti Jun 10, 2015

Contributor

Thank you @sooheon, that worked for me too.

Contributor

manuel-uberti commented Jun 10, 2015

Thank you @sooheon, that worked for me too.

@rebcabin

This comment has been minimized.

Show comment
Hide comment
@rebcabin

rebcabin Dec 25, 2015

I am back to CIDER and Clojure after being away for several months (partly because I hoped this topic would settle down while I was away -- I could play with Common Lisp or C++). It's still here. I can't get CIDER to work properly. I just did a fresh install of emacs, spacemacs (i must use spacemacs because otherwise I can't evangelize VIM adherents), leiningen, on a brand-new wiped mac machine and bingo-bango this old horror is still here

; CIDER 0.11.0snapshot (package: 20151224.1145) (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
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.11.0-SNAPSHOT and restart CIDER
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (not installed). Things will break!
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.

I tried creating the ~/.lein/profiles.clj

{:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

and I get this

; CIDER 0.11.0snapshot (package: 20151224.1145) (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.12)
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.

Changing ~/.lein/profiles.clj to this

{:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
                  [refactor-nrepl "1.1.0"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

or this

{:user {:plugins [[refactor-nrepl "1.1.0"]
                  [cider/cider-nrepl "0.11.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

or this

{:user {:plugins [[refactor-nrepl "1.1.0"]
                  [cider/cider-nrepl "0.9.1-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

did not improve things. The final error reporting is the last block above.

rebcabin commented Dec 25, 2015

I am back to CIDER and Clojure after being away for several months (partly because I hoped this topic would settle down while I was away -- I could play with Common Lisp or C++). It's still here. I can't get CIDER to work properly. I just did a fresh install of emacs, spacemacs (i must use spacemacs because otherwise I can't evangelize VIM adherents), leiningen, on a brand-new wiped mac machine and bingo-bango this old horror is still here

; CIDER 0.11.0snapshot (package: 20151224.1145) (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
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.11.0-SNAPSHOT and restart CIDER
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (not installed). Things will break!
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.

I tried creating the ~/.lein/profiles.clj

{:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

and I get this

; CIDER 0.11.0snapshot (package: 20151224.1145) (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.12)
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.

Changing ~/.lein/profiles.clj to this

{:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
                  [refactor-nrepl "1.1.0"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

or this

{:user {:plugins [[refactor-nrepl "1.1.0"]
                  [cider/cider-nrepl "0.11.0-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

or this

{:user {:plugins [[refactor-nrepl "1.1.0"]
                  [cider/cider-nrepl "0.9.1-SNAPSHOT"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

did not improve things. The final error reporting is the last block above.

@Malabarba

This comment has been minimized.

Show comment
Hide comment
@Malabarba

Malabarba Dec 25, 2015

Member

The warning was telling you to use [refactor-nrepl "2.0.0-SNAPSHOT"], not [refactor-nrepl "1.1.0"]. ;-)

Member

Malabarba commented Dec 25, 2015

The warning was telling you to use [refactor-nrepl "2.0.0-SNAPSHOT"], not [refactor-nrepl "1.1.0"]. ;-)

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Dec 25, 2015

Member

refactor-nrepl is not part of CIDER, but its warning messages kind of blend in with the rest of the warnings and many people are confused which warning is coming from where...

Member

bbatsov commented Dec 25, 2015

refactor-nrepl is not part of CIDER, but its warning messages kind of blend in with the rest of the warnings and many people are confused which warning is coming from where...

@rebcabin

This comment has been minimized.

Show comment
Hide comment
@rebcabin

rebcabin Dec 26, 2015

Ooops, right -- I read the refactor-nrepl repo page instead of (deep into) the warning to get the version number. That fixed it, and I'm grateful for your sharp eyes.

rebcabin commented Dec 26, 2015

Ooops, right -- I read the refactor-nrepl repo page instead of (deep into) the warning to get the version number. That fixed it, and I'm grateful for your sharp eyes.

@borgauf

This comment has been minimized.

Show comment
Hide comment
@borgauf

borgauf Jan 2, 2016

I've got

WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
WARNING: The following required nREPL ops are not supported: 
  format-code format-edn ns-path refresh
  Please, install (or update) cider-nrepl 0.11.0-SNAPSHOT and restart CIDER
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.8.1). Things   will break!

This is from the standard Emacs drop-in .emacs.d/ from the "Clojure for the Brave and True"

I did an ELPA update and the above warnings. CfB&T has us put this

{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

in our ~/.lein/profiles.clj. Changing it to 0.11.0 caused error.

borgauf commented Jan 2, 2016

I've got

WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
WARNING: The following required nREPL ops are not supported: 
  format-code format-edn ns-path refresh
  Please, install (or update) cider-nrepl 0.11.0-SNAPSHOT and restart CIDER
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.8.1). Things   will break!

This is from the standard Emacs drop-in .emacs.d/ from the "Clojure for the Brave and True"

I did an ELPA update and the above warnings. CfB&T has us put this

{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

in our ~/.lein/profiles.clj. Changing it to 0.11.0 caused error.

@piotr-yuxuan

This comment has been minimized.

Show comment
Hide comment
@piotr-yuxuan

piotr-yuxuan Feb 4, 2016

For you information: I first got

WARNING: The following required nREPL ops are not supported: 
format-code format-edn ns-path refresh
Please, install (or update) cider-nrepl 0.9.1 and restart CIDER
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns configure extract-definition find-debug-fns find-symbol find-unbound hotload-dependency rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: CIDER's version (0.9.1) does not match cider-nrepl's version (0.8.1)

I solved it by amending my ~/.lein/progiles.clj from:

{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

to

{:user {:plugins [[cider/cider-nrepl "0.9.1"]
                  [refactor-nrepl "1.1.0"]]}}

and it solved the error.

piotr-yuxuan commented Feb 4, 2016

For you information: I first got

WARNING: The following required nREPL ops are not supported: 
format-code format-edn ns-path refresh
Please, install (or update) cider-nrepl 0.9.1 and restart CIDER
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns configure extract-definition find-debug-fns find-symbol find-unbound hotload-dependency rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: CIDER's version (0.9.1) does not match cider-nrepl's version (0.8.1)

I solved it by amending my ~/.lein/progiles.clj from:

{:user {:plugins [[cider/cider-nrepl "0.8.1"]]}}

to

{:user {:plugins [[cider/cider-nrepl "0.9.1"]
                  [refactor-nrepl "1.1.0"]]}}

and it solved the error.

@evanspa

This comment has been minimized.

Show comment
Hide comment
@evanspa

evanspa Feb 10, 2016

I just updated my prelude installation. Here's my output (note the "...does not match..." warning at the bottom):

; CIDER 0.11.0snapshot (package: 20160210.718) (Java 1.8.0_71, Clojure 1.6.0, nREPL 0.2.12)
; ================================================================================
; Welcome to CIDER!
;
; If you're new to CIDER it is highly recommended to go through its manual first.
; Press <M-x cider-view-manual> to view it.
; In case you're seeing any warnings you should consult the manual's "Troubleshooting" section.
;
; Here are few tips to get you started:
;
; * Press <C-h m> to see a list of the keybindings available (this will work in every Emacs buffer)
; * Press <,> to quickly invoke some REPL command
; * Press <C-c C-z> to switch between the REPL and a Clojure source buffer
; * Press <M-.> to jump to the source of something (e.g. a var, a Java method)
; * Press <C-c C-d C-d> to view the documentation for something (e.g. a var, a Java method)
;
; CIDER is super customizable - try <M-x customize-group cider> to get
; a feel for this. If you're thirsty for knowledge you should try <M-x cider-drink-a-sip>.
;
; If you think you've encountered a bug (or have some suggestions for improvements) press <M-x cider-report-bug>.
;
; Above all else - don't panic! In case of an emergency - procure some (hard) cider and enjoy it responsibly!
;
; You can disable this message from appearing on start by setting `cider-repl-display-help-banner' to nil.
; ================================================================================
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.2). Things will break!
user> 

And here's my project.clj (I don't have a global one or anything):

(defproject my-app "0.0.1"
  :plugins [[lein-pprint "1.1.2"]]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/tools.logging "0.3.1"]
                 [org.clojure/data.codec "0.1.0"]
                 [ch.qos.logback/logback-classic "1.0.13"]
                 [org.slf4j/slf4j-api "1.7.5"]
                 [clj-time "0.8.0"]
                 [org.clojure/java.jdbc "0.3.6"]
                 [com.cemerick/friend "0.2.1"]
                 [pe-core-utils "0.0.13"]
                 [pe-jdbc-utils "0.0.20"]
                 [pe-user-core "0.1.40"]
                 [pe-rest-utils "0.0.35"]
                 [pe-user-rest "0.0.52"]]
  :resource-paths ["resources"]
  :profiles {:dev {:source-paths ["dev"] 
                   :plugins [[cider/cider-nrepl "0.10.2"]
                             [lein-ring "0.8.13"]]
                   :dependencies [[org.clojure/tools.namespace "0.2.7"]
                                  [org.clojure/java.classpath "0.2.2"]
                                  [org.clojure/tools.nrepl "0.2.12"]
                                  [org.clojure/data.json "0.2.5"]
                                  [org.postgresql/postgresql "9.4-1201-jdbc41"]
                                  [ring/ring-codec "1.0.0"]
                                  [ring-server "0.3.1"]
                                  [ring-mock "0.1.5"]
                                  [clojurewerkz/mailer "1.2.0"]
                                  [de.ubercode.clostache/clostache "1.4.0"]
                                  [pe-rest-testutils "0.0.7"]]
                   :resource-paths ["test-resources"]}
             :test {:resource-paths ["test-resources"]}})

evanspa commented Feb 10, 2016

I just updated my prelude installation. Here's my output (note the "...does not match..." warning at the bottom):

; CIDER 0.11.0snapshot (package: 20160210.718) (Java 1.8.0_71, Clojure 1.6.0, nREPL 0.2.12)
; ================================================================================
; Welcome to CIDER!
;
; If you're new to CIDER it is highly recommended to go through its manual first.
; Press <M-x cider-view-manual> to view it.
; In case you're seeing any warnings you should consult the manual's "Troubleshooting" section.
;
; Here are few tips to get you started:
;
; * Press <C-h m> to see a list of the keybindings available (this will work in every Emacs buffer)
; * Press <,> to quickly invoke some REPL command
; * Press <C-c C-z> to switch between the REPL and a Clojure source buffer
; * Press <M-.> to jump to the source of something (e.g. a var, a Java method)
; * Press <C-c C-d C-d> to view the documentation for something (e.g. a var, a Java method)
;
; CIDER is super customizable - try <M-x customize-group cider> to get
; a feel for this. If you're thirsty for knowledge you should try <M-x cider-drink-a-sip>.
;
; If you think you've encountered a bug (or have some suggestions for improvements) press <M-x cider-report-bug>.
;
; Above all else - don't panic! In case of an emergency - procure some (hard) cider and enjoy it responsibly!
;
; You can disable this message from appearing on start by setting `cider-repl-display-help-banner' to nil.
; ================================================================================
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.2). Things will break!
user> 

And here's my project.clj (I don't have a global one or anything):

(defproject my-app "0.0.1"
  :plugins [[lein-pprint "1.1.2"]]
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [org.clojure/tools.logging "0.3.1"]
                 [org.clojure/data.codec "0.1.0"]
                 [ch.qos.logback/logback-classic "1.0.13"]
                 [org.slf4j/slf4j-api "1.7.5"]
                 [clj-time "0.8.0"]
                 [org.clojure/java.jdbc "0.3.6"]
                 [com.cemerick/friend "0.2.1"]
                 [pe-core-utils "0.0.13"]
                 [pe-jdbc-utils "0.0.20"]
                 [pe-user-core "0.1.40"]
                 [pe-rest-utils "0.0.35"]
                 [pe-user-rest "0.0.52"]]
  :resource-paths ["resources"]
  :profiles {:dev {:source-paths ["dev"] 
                   :plugins [[cider/cider-nrepl "0.10.2"]
                             [lein-ring "0.8.13"]]
                   :dependencies [[org.clojure/tools.namespace "0.2.7"]
                                  [org.clojure/java.classpath "0.2.2"]
                                  [org.clojure/tools.nrepl "0.2.12"]
                                  [org.clojure/data.json "0.2.5"]
                                  [org.postgresql/postgresql "9.4-1201-jdbc41"]
                                  [ring/ring-codec "1.0.0"]
                                  [ring-server "0.3.1"]
                                  [ring-mock "0.1.5"]
                                  [clojurewerkz/mailer "1.2.0"]
                                  [de.ubercode.clostache/clostache "1.4.0"]
                                  [pe-rest-testutils "0.0.7"]]
                   :resource-paths ["test-resources"]}
             :test {:resource-paths ["test-resources"]}})

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Feb 10, 2016

Member

The warning tells you want to do - you need cider-nrepl 0.11-SNAPSHOT
instead of 0.10.2 (which you're using). Either this or you need to install
cider 0.10.2 from MELPA Stable, instead of pulling the snapshot from MELPA.

On 10 February 2016 at 23:48, Paul Evans notifications@github.com wrote:

I just updated my prelude installation. Here's my output (note the
"...does not match..." warning at the bottom
):

; CIDER 0.11.0snapshot (package: 20160210.718) (Java 1.8.0_71, Clojure 1.6.0, nREPL 0.2.12)
; ================================================================================
; Welcome to CIDER!
;
; If you're new to CIDER it is highly recommended to go through its manual first.
; Press to view it.
; In case you're seeing any warnings you should consult the manual's "Troubleshooting" section.
;
; Here are few tips to get you started:
;
; * Press to see a list of the keybindings available (this will work in every Emacs buffer)
; * Press <,> to quickly invoke some REPL command
; * Press to switch between the REPL and a Clojure source buffer
; * Press <M-.> to jump to the source of something (e.g. a var, a Java method)
; * Press to view the documentation for something (e.g. a var, a Java method)
;
; CIDER is super customizable - try to get
; a feel for this. If you're thirsty for knowledge you should try .
;
; If you think you've encountered a bug (or have some suggestions for improvements) press .
;
; Above all else - don't panic! In case of an emergency - procure some (hard) cider and enjoy it responsibly!
;
; You can disable this message from appearing on start by setting `cider-repl-display-help-banner' to nil.
; ================================================================================
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.2). Things will break!
user>

And here's my project.clj (I don't have a global one or anything):

(defproject my-app "0.0.1"
:plugins [[lein-pprint "1.1.2"]]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/tools.logging "0.3.1"]
[org.clojure/data.codec "0.1.0"]
[ch.qos.logback/logback-classic "1.0.13"]
[org.slf4j/slf4j-api "1.7.5"]
[clj-time "0.8.0"]
[org.clojure/java.jdbc "0.3.6"]
[com.cemerick/friend "0.2.1"]
[pe-core-utils "0.0.13"]
[pe-jdbc-utils "0.0.20"]
[pe-user-core "0.1.40"]
[pe-rest-utils "0.0.35"]
[pe-user-rest "0.0.52"]]
:resource-paths ["resources"]
:profiles {:dev {:source-paths ["dev"]
:plugins [[cider/cider-nrepl "0.10.2"]
[lein-ring "0.8.13"]]
:dependencies [[org.clojure/tools.namespace "0.2.7"]
[org.clojure/java.classpath "0.2.2"]
[org.clojure/tools.nrepl "0.2.12"]
[org.clojure/data.json "0.2.5"]
[org.postgresql/postgresql "9.4-1201-jdbc41"]
[ring/ring-codec "1.0.0"]
[ring-server "0.3.1"]
[ring-mock "0.1.5"]
[clojurewerkz/mailer "1.2.0"]
[de.ubercode.clostache/clostache "1.4.0"]
[pe-rest-testutils "0.0.7"]]
:resource-paths ["test-resources"]}
:test {:resource-paths ["test-resources"]}})


Reply to this email directly or view it on GitHub
#961 (comment)
.

Best Regards,
Bozhidar Batsov

http://www.batsov.com

Member

bbatsov commented Feb 10, 2016

The warning tells you want to do - you need cider-nrepl 0.11-SNAPSHOT
instead of 0.10.2 (which you're using). Either this or you need to install
cider 0.10.2 from MELPA Stable, instead of pulling the snapshot from MELPA.

On 10 February 2016 at 23:48, Paul Evans notifications@github.com wrote:

I just updated my prelude installation. Here's my output (note the
"...does not match..." warning at the bottom
):

; CIDER 0.11.0snapshot (package: 20160210.718) (Java 1.8.0_71, Clojure 1.6.0, nREPL 0.2.12)
; ================================================================================
; Welcome to CIDER!
;
; If you're new to CIDER it is highly recommended to go through its manual first.
; Press to view it.
; In case you're seeing any warnings you should consult the manual's "Troubleshooting" section.
;
; Here are few tips to get you started:
;
; * Press to see a list of the keybindings available (this will work in every Emacs buffer)
; * Press <,> to quickly invoke some REPL command
; * Press to switch between the REPL and a Clojure source buffer
; * Press <M-.> to jump to the source of something (e.g. a var, a Java method)
; * Press to view the documentation for something (e.g. a var, a Java method)
;
; CIDER is super customizable - try to get
; a feel for this. If you're thirsty for knowledge you should try .
;
; If you think you've encountered a bug (or have some suggestions for improvements) press .
;
; Above all else - don't panic! In case of an emergency - procure some (hard) cider and enjoy it responsibly!
;
; You can disable this message from appearing on start by setting `cider-repl-display-help-banner' to nil.
; ================================================================================
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.10.2). Things will break!
user>

And here's my project.clj (I don't have a global one or anything):

(defproject my-app "0.0.1"
:plugins [[lein-pprint "1.1.2"]]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/tools.logging "0.3.1"]
[org.clojure/data.codec "0.1.0"]
[ch.qos.logback/logback-classic "1.0.13"]
[org.slf4j/slf4j-api "1.7.5"]
[clj-time "0.8.0"]
[org.clojure/java.jdbc "0.3.6"]
[com.cemerick/friend "0.2.1"]
[pe-core-utils "0.0.13"]
[pe-jdbc-utils "0.0.20"]
[pe-user-core "0.1.40"]
[pe-rest-utils "0.0.35"]
[pe-user-rest "0.0.52"]]
:resource-paths ["resources"]
:profiles {:dev {:source-paths ["dev"]
:plugins [[cider/cider-nrepl "0.10.2"]
[lein-ring "0.8.13"]]
:dependencies [[org.clojure/tools.namespace "0.2.7"]
[org.clojure/java.classpath "0.2.2"]
[org.clojure/tools.nrepl "0.2.12"]
[org.clojure/data.json "0.2.5"]
[org.postgresql/postgresql "9.4-1201-jdbc41"]
[ring/ring-codec "1.0.0"]
[ring-server "0.3.1"]
[ring-mock "0.1.5"]
[clojurewerkz/mailer "1.2.0"]
[de.ubercode.clostache/clostache "1.4.0"]
[pe-rest-testutils "0.0.7"]]
:resource-paths ["test-resources"]}
:test {:resource-paths ["test-resources"]}})


Reply to this email directly or view it on GitHub
#961 (comment)
.

Best Regards,
Bozhidar Batsov

http://www.batsov.com

@evanspa

This comment has been minimized.

Show comment
Hide comment
@evanspa

evanspa Feb 10, 2016

MELPA Stable!!! Alright...that makes sense. Yeah, in my personal init.el, there's no mention of MELPA...M-x package-install just works and I never questioned the type of repo I was pulling from. I'll explicitly switch to stable and see if that fixes things. Thanks!

Edit: got it fixed. Added the following to the top of my emacs config:

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

Next, I manually deleted the version of cider currently installed (for me, it was deleting the ~/.emacs.d/elpa/cider-20160210.718 folder).

Finally, I did a M-x package-list-packages, and saw 2 versions of "cider" listed. One was the cider-20160210.718 version (which is the 0.11-SNAPSHOT version), and the other was from MELPA Stable - it was cider-0.10.2 (which lines up with my [cider/cider-nrepl "0.10.2"] entry in my project.clj). I chose to install the 0.10.2 version and now when I fire up cider, I no longer get the warning.

evanspa commented Feb 10, 2016

MELPA Stable!!! Alright...that makes sense. Yeah, in my personal init.el, there's no mention of MELPA...M-x package-install just works and I never questioned the type of repo I was pulling from. I'll explicitly switch to stable and see if that fixes things. Thanks!

Edit: got it fixed. Added the following to the top of my emacs config:

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

Next, I manually deleted the version of cider currently installed (for me, it was deleting the ~/.emacs.d/elpa/cider-20160210.718 folder).

Finally, I did a M-x package-list-packages, and saw 2 versions of "cider" listed. One was the cider-20160210.718 version (which is the 0.11-SNAPSHOT version), and the other was from MELPA Stable - it was cider-0.10.2 (which lines up with my [cider/cider-nrepl "0.10.2"] entry in my project.clj). I chose to install the 0.10.2 version and now when I fire up cider, I no longer get the warning.

@Davidbhodge

This comment has been minimized.

Show comment
Hide comment
@Davidbhodge

Davidbhodge Feb 10, 2016

woah - same here. I'll change to Melpa-stable

Thanks so much for the tip

Paul Evans mailto:notifications@github.com
11 February 2016 at 11:00 AM

MELPA Stable!!! Alright...that makes sense. Yeah, in my personal
init.el, there's no mention of MELPA...M-x package-install just works
and I never questioned the type of repo I was pulling from. I'll
explicitly switch to stable and see if that fixes things. Thanks!


Reply to this email directly or view it on GitHub
#961 (comment).

Davidbhodge commented Feb 10, 2016

woah - same here. I'll change to Melpa-stable

Thanks so much for the tip

Paul Evans mailto:notifications@github.com
11 February 2016 at 11:00 AM

MELPA Stable!!! Alright...that makes sense. Yeah, in my personal
init.el, there's no mention of MELPA...M-x package-install just works
and I never questioned the type of repo I was pulling from. I'll
explicitly switch to stable and see if that fixes things. Thanks!


Reply to this email directly or view it on GitHub
#961 (comment).

@0xABAB

This comment has been minimized.

Show comment
Hide comment
@0xABAB

0xABAB Feb 11, 2016

; CIDER 0.10.2 (Java 1.8.0_65, Clojure 1.8.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly

This is what I get in Emacs 24.5.1. I am already using Melpa-STABLE and my ~/.lein/profiles.clj contains:

{:user {:plugins [[cider/cider-nrepl "0.10.2"]]}}
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
# more info
/usr/local/bin/lein --version
Leiningen 2.5.3 on Java 1.8.0_65 Java HotSpot(TM) 64-Bit Server VM

Can someone please tell me what's wrong or alternatively fix the software (with full installation instructions)?

0xABAB commented Feb 11, 2016

; CIDER 0.10.2 (Java 1.8.0_65, Clojure 1.8.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly

This is what I get in Emacs 24.5.1. I am already using Melpa-STABLE and my ~/.lein/profiles.clj contains:

{:user {:plugins [[cider/cider-nrepl "0.10.2"]]}}
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
# more info
/usr/local/bin/lein --version
Leiningen 2.5.3 on Java 1.8.0_65 Java HotSpot(TM) 64-Bit Server VM

Can someone please tell me what's wrong or alternatively fix the software (with full installation instructions)?

@Malabarba

This comment has been minimized.

Show comment
Hide comment
@Malabarba

Malabarba Feb 11, 2016

Member

That's not a valid profiles file. You want:

{:user {:plugins [[cider/cider-nrepl "0.10.2"]]}
 :repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
Member

Malabarba commented Feb 11, 2016

That's not a valid profiles file. You want:

{:user {:plugins [[cider/cider-nrepl "0.10.2"]]}
 :repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Feb 11, 2016

Member

Actually I'd put them both under :repl.

Member

bbatsov commented Feb 11, 2016

Actually I'd put them both under :repl.

@robincarlo84

This comment has been minimized.

Show comment
Hide comment
@robincarlo84

robincarlo84 Feb 13, 2016

I've been having this kind of problem and the solution that fixed my case was upgrading my lein using lein upgrade. I found it on this SO post.

robincarlo84 commented Feb 13, 2016

I've been having this kind of problem and the solution that fixed my case was upgrading my lein using lein upgrade. I found it on this SO post.

@darth10

This comment has been minimized.

Show comment
Hide comment
@darth10

darth10 Mar 12, 2016

I've run into a similar issue with CIDER 20160310.330.
This is the warning I get on cider-jack-in.

Please, install (or update) cider-nrepl 0.12.0-SNAPSHOT and restart CIDER

But, that version of cider-nrepl is already installed. Here's my profiles.clj.

{:user {:plugins
        [[lein-ancient "0.6.7"]
         [lein-exec "0.3.5"]
         [lein-pprint "1.1.2"]
         [lein-try "0.4.3"]
         [http-kit/lein-template "1.0.0-SNAPSHOT"]
         [compojure-app/lein-template "0.4.7"]]}
 :repl {:plugins
        [[cider/cider-nrepl "0.12.0-SNAPSHOT"]]
        :dependencies
        [[org.clojure/tools.nrepl "0.2.12"]
         [compliment "0.2.5"]]}}

Any clue as to how to resolve this? I'm not able to use basic stuff like find-symbol.

EDIT:
This happens only with cider-jack-in, and cider-connect detects cider-nrepl correctly.
Perhaps this is due to (setq cider-inject-dependencies-at-jack-in nil)?

darth10 commented Mar 12, 2016

I've run into a similar issue with CIDER 20160310.330.
This is the warning I get on cider-jack-in.

Please, install (or update) cider-nrepl 0.12.0-SNAPSHOT and restart CIDER

But, that version of cider-nrepl is already installed. Here's my profiles.clj.

{:user {:plugins
        [[lein-ancient "0.6.7"]
         [lein-exec "0.3.5"]
         [lein-pprint "1.1.2"]
         [lein-try "0.4.3"]
         [http-kit/lein-template "1.0.0-SNAPSHOT"]
         [compojure-app/lein-template "0.4.7"]]}
 :repl {:plugins
        [[cider/cider-nrepl "0.12.0-SNAPSHOT"]]
        :dependencies
        [[org.clojure/tools.nrepl "0.2.12"]
         [compliment "0.2.5"]]}}

Any clue as to how to resolve this? I'm not able to use basic stuff like find-symbol.

EDIT:
This happens only with cider-jack-in, and cider-connect detects cider-nrepl correctly.
Perhaps this is due to (setq cider-inject-dependencies-at-jack-in nil)?

@kaosbeat

This comment has been minimized.

Show comment
Hide comment
@kaosbeat

kaosbeat Mar 17, 2016

I have the same problem, i cannot consistently start projects over here, keeps changing. Driving me nuts
happens wit both cider-connect and cider-jack-in

; CIDER 0.11.0snapshot (package: 20151207.1307) (Java 1.8.0_31, Clojure 1.7.0, nREPL 0.2.12)
WARNING: The following required nREPL ops are not supported: 
inspect-start inspect-reset
Please, install (or update) cider-nrepl 0.8.1 and restart CIDER
WARNING: CIDER's version (0.8.1) does not match cider-nrepl's version (0.11.0-snapshot)
user> 

what's weird is that CIDER 0.11 is shown in the first line, and later on its complaining that 0.8.1 is used

kaosbeat commented Mar 17, 2016

I have the same problem, i cannot consistently start projects over here, keeps changing. Driving me nuts
happens wit both cider-connect and cider-jack-in

; CIDER 0.11.0snapshot (package: 20151207.1307) (Java 1.8.0_31, Clojure 1.7.0, nREPL 0.2.12)
WARNING: The following required nREPL ops are not supported: 
inspect-start inspect-reset
Please, install (or update) cider-nrepl 0.8.1 and restart CIDER
WARNING: CIDER's version (0.8.1) does not match cider-nrepl's version (0.11.0-snapshot)
user> 

what's weird is that CIDER 0.11 is shown in the first line, and later on its complaining that 0.8.1 is used

@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Mar 17, 2016

Member

@darth10 Doubtful. What's the exact warning you're seeing?

@kaosbeat Can you update to 0.11-stable or 0.12 snapshot and tell me if this still happens? Likely you've got cider installed twice or something; I can't imagine another reasons for this odd version mismatch.

Member

bbatsov commented Mar 17, 2016

@darth10 Doubtful. What's the exact warning you're seeing?

@kaosbeat Can you update to 0.11-stable or 0.12 snapshot and tell me if this still happens? Likely you've got cider installed twice or something; I can't imagine another reasons for this odd version mismatch.

@nybbles

This comment has been minimized.

Show comment
Hide comment
@nybbles

nybbles Apr 16, 2016

@bbatsov hm im running into this too, googled through a bunch of different threads - uninstalled these packages, moved to MELPA Stable, but I still get the following when using clojure-jack-in. I still get a warning when using regular MELPA (i.e. whatever Prelude uses by default).

Also, I'm doing this within a project I just created via lein new.

;; Connected to nREPL server running on port 51399 on host localhost - nrepl://localhost:51399
;; CIDER 0.11.0 (Bulgaria), nREPL 0.2.12
;; Clojure 1.6.0, Java 1.8.0_72
;;     Docs: (doc function-name)
;;           (find-doc part-of-name)
;;   Source: (source function-name)
;;  Javadoc: (javadoc java-object-or-class)
;;     Exit: C-c C-q
;;  Results: Stored in vars *1, *2, *3, an exception in *e;
;; ======================================================================
;; If you’re new to CIDER it is highly recommended to go through its
;; manual first. Type <M-x cider-view-manual> to view it.
;; In case you’re seeing any warnings you should consult the manual’s
;; "Troubleshooting" section.
;;
;; Here are few tips to get you started:
;;
;; * Press <C-h m> to see a list of the keybindings available (this
;;   will work in every Emacs buffer)
;; * Press <,> to quickly invoke some REPL command
;; * Press <C-c C-z> to switch between the REPL and a Clojure file
;; * Press <M-. to jump to the source of something (e.g. a var, a
;;   Java method)
;; * Press <C-c C-d C-d> to view the documentation for something (e.g.
;;   a var, a Java method)
;; * Enable `eldoc-mode' to display function & method signatures in the minibuffer.
;; * Print CIDER's refcard and keep it close to your keyboard.
;;
;; CIDER is super customizable - try <M-x customize-group cider> to
;; get a feel for this. If you’re thirsty for knowledge you should try
;; <M-x cider-drink-a-sip>.
;;
;; If you think you’ve encountered a bug (or have some suggestions for
;; improvements) use <M-x cider-report-bug> to report it.
;;
;; Above all else - don’t panic! In case of an emergency - procure
;; some (hard) cider and enjoy it responsibly!
;;
;; You can remove this message with the `cider-repl-clear-help-banner' command.
;; You can disable it from appearing on start by setting
;; `cider-repl-display-help-banner' to nil.
;; ======================================================================
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.11.0 and restart CIDER
WARNING: CIDER's version (0.11.0) does not match cider-nrepl's version (not installed). Things will break!

If I use regular MELPA instead, I get this, which seems a little less bad, but still not reassuring:

;; Connected to nREPL server - nrepl://localhost:51540
;; CIDER 0.12.0snapshot (package: 20160415.1316), nREPL 0.2.12
;; Clojure 1.6.0, Java 1.8.0_72
;;     Docs: (doc function-name)
;;           (find-doc part-of-name)
;;   Source: (source function-name)
;;  Javadoc: (javadoc java-object-or-class)
;;     Exit: C-c C-q
;;  Results: Stored in vars *1, *2, *3, an exception in *e;
;; ======================================================================
;; If you’re new to CIDER it is highly recommended to go through its
;; manual first. Type <M-x cider-view-manual> to view it.
;; In case you’re seeing any warnings you should consult the manual’s
;; "Troubleshooting" section.
;;
;; Here are few tips to get you started:
;;
;; * Press <C-h m> to see a list of the keybindings available (this
;;   will work in every Emacs buffer)
;; * Press <,> to quickly invoke some REPL command
;; * Press <C-c C-z> to switch between the REPL and a Clojure file
;; * Press <M-.> to jump to the source of something (e.g. a var, a
;;   Java method)
;; * Press <C-c C-d C-d> to view the documentation for something (e.g.
;;   a var, a Java method)
;; * Enable `eldoc-mode' to display function & method signatures in the minibuffer.
;; * Print CIDER's refcard and keep it close to your keyboard.
;;
;; CIDER is super customizable - try <M-x customize-group cider> to
;; get a feel for this. If you’re thirsty for knowledge you should try
;; <M-x cider-drink-a-sip>.
;;
;; If you think you’ve encountered a bug (or have some suggestions for
;; improvements) use <M-x cider-report-bug> to report it.
;;
;; Above all else - don’t panic! In case of an emergency - procure
;; some (hard) cider and enjoy it responsibly!
;;
;; You can remove this message with the `cider-repl-clear-help-banner' command.
;; You can disable it from appearing on start by setting
;; `cider-repl-display-help-banner' to nil.
;; ======================================================================
WARNING: CIDER's version (0.12.0-snapshot) does not match cider-nrepl's version (nil). Things will break!

nybbles commented Apr 16, 2016

@bbatsov hm im running into this too, googled through a bunch of different threads - uninstalled these packages, moved to MELPA Stable, but I still get the following when using clojure-jack-in. I still get a warning when using regular MELPA (i.e. whatever Prelude uses by default).

Also, I'm doing this within a project I just created via lein new.

;; Connected to nREPL server running on port 51399 on host localhost - nrepl://localhost:51399
;; CIDER 0.11.0 (Bulgaria), nREPL 0.2.12
;; Clojure 1.6.0, Java 1.8.0_72
;;     Docs: (doc function-name)
;;           (find-doc part-of-name)
;;   Source: (source function-name)
;;  Javadoc: (javadoc java-object-or-class)
;;     Exit: C-c C-q
;;  Results: Stored in vars *1, *2, *3, an exception in *e;
;; ======================================================================
;; If you’re new to CIDER it is highly recommended to go through its
;; manual first. Type <M-x cider-view-manual> to view it.
;; In case you’re seeing any warnings you should consult the manual’s
;; "Troubleshooting" section.
;;
;; Here are few tips to get you started:
;;
;; * Press <C-h m> to see a list of the keybindings available (this
;;   will work in every Emacs buffer)
;; * Press <,> to quickly invoke some REPL command
;; * Press <C-c C-z> to switch between the REPL and a Clojure file
;; * Press <M-. to jump to the source of something (e.g. a var, a
;;   Java method)
;; * Press <C-c C-d C-d> to view the documentation for something (e.g.
;;   a var, a Java method)
;; * Enable `eldoc-mode' to display function & method signatures in the minibuffer.
;; * Print CIDER's refcard and keep it close to your keyboard.
;;
;; CIDER is super customizable - try <M-x customize-group cider> to
;; get a feel for this. If you’re thirsty for knowledge you should try
;; <M-x cider-drink-a-sip>.
;;
;; If you think you’ve encountered a bug (or have some suggestions for
;; improvements) use <M-x cider-report-bug> to report it.
;;
;; Above all else - don’t panic! In case of an emergency - procure
;; some (hard) cider and enjoy it responsibly!
;;
;; You can remove this message with the `cider-repl-clear-help-banner' command.
;; You can disable it from appearing on start by setting
;; `cider-repl-display-help-banner' to nil.
;; ======================================================================
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.11.0 and restart CIDER
WARNING: CIDER's version (0.11.0) does not match cider-nrepl's version (not installed). Things will break!

If I use regular MELPA instead, I get this, which seems a little less bad, but still not reassuring:

;; Connected to nREPL server - nrepl://localhost:51540
;; CIDER 0.12.0snapshot (package: 20160415.1316), nREPL 0.2.12
;; Clojure 1.6.0, Java 1.8.0_72
;;     Docs: (doc function-name)
;;           (find-doc part-of-name)
;;   Source: (source function-name)
;;  Javadoc: (javadoc java-object-or-class)
;;     Exit: C-c C-q
;;  Results: Stored in vars *1, *2, *3, an exception in *e;
;; ======================================================================
;; If you’re new to CIDER it is highly recommended to go through its
;; manual first. Type <M-x cider-view-manual> to view it.
;; In case you’re seeing any warnings you should consult the manual’s
;; "Troubleshooting" section.
;;
;; Here are few tips to get you started:
;;
;; * Press <C-h m> to see a list of the keybindings available (this
;;   will work in every Emacs buffer)
;; * Press <,> to quickly invoke some REPL command
;; * Press <C-c C-z> to switch between the REPL and a Clojure file
;; * Press <M-.> to jump to the source of something (e.g. a var, a
;;   Java method)
;; * Press <C-c C-d C-d> to view the documentation for something (e.g.
;;   a var, a Java method)
;; * Enable `eldoc-mode' to display function & method signatures in the minibuffer.
;; * Print CIDER's refcard and keep it close to your keyboard.
;;
;; CIDER is super customizable - try <M-x customize-group cider> to
;; get a feel for this. If you’re thirsty for knowledge you should try
;; <M-x cider-drink-a-sip>.
;;
;; If you think you’ve encountered a bug (or have some suggestions for
;; improvements) use <M-x cider-report-bug> to report it.
;;
;; Above all else - don’t panic! In case of an emergency - procure
;; some (hard) cider and enjoy it responsibly!
;;
;; You can remove this message with the `cider-repl-clear-help-banner' command.
;; You can disable it from appearing on start by setting
;; `cider-repl-display-help-banner' to nil.
;; ======================================================================
WARNING: CIDER's version (0.12.0-snapshot) does not match cider-nrepl's version (nil). Things will break!
@bbatsov

This comment has been minimized.

Show comment
Hide comment
@bbatsov

bbatsov Apr 16, 2016

Member

You should check that you've got nothing cider-related in profiles.clj and that your leiningen version is recent (e.g. 2.6).

Member

bbatsov commented Apr 16, 2016

You should check that you've got nothing cider-related in profiles.clj and that your leiningen version is recent (e.g. 2.6).

@nybbles

This comment has been minimized.

Show comment
Hide comment
@nybbles

nybbles Apr 18, 2016

Hm actually I found that "lein new" created a project with Clojure 1.6.0.
Once I changed that to 1.8.0, everything seems to work perfectly. Thanks!

On Sat, Apr 16, 2016 at 8:02 AM Bozhidar Batsov notifications@github.com
wrote:

You should check that you've got nothing cider-related in profiles.clj
and that your leiningen version is recent (e.g. 2.6).


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#961 (comment)

nybbles commented Apr 18, 2016

Hm actually I found that "lein new" created a project with Clojure 1.6.0.
Once I changed that to 1.8.0, everything seems to work perfectly. Thanks!

On Sat, Apr 16, 2016 at 8:02 AM Bozhidar Batsov notifications@github.com
wrote:

You should check that you've got nothing cider-related in profiles.clj
and that your leiningen version is recent (e.g. 2.6).


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#961 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment