我遇到了这个问题:苹果酒堆叠并停止评估代码。我重新安装了GNU emacs 24.4.1和Emacs Live。当我尝试启动M-x cider-jack-in时,我得到以下错误:
; CIDER 0.9.1 (Java 1.7.0_79, Clojure 1.6.0, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 (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.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 (not installed)我还在Java 1.7.0_79 OpenJDK服务器VM上安装了Leiningen 2.5.1。
发布于 2015-07-16 05:32:50
提示您必须使用nREPL 0.2.7+的
警告
苹果酒目前至少需要nREPL 0.2.7才能正常工作(0.2.6中有一些令人讨厌的bug)。不幸的是,最新的leiningen (2.5.1)恰好引入了0.2.6,所以如果你是一个lein用户,你将不得不做一些手工工作。只需将以下内容添加到您的profiles.clj中:
{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10"]]}}确保将较新的nREPL依赖项添加到:dependencies键,而不是: plugin ( cider-nrepl Lein插件所在的位置)。这是一个很常见的错误。
一般来说,我们建议你在苹果酒中使用最新的nREPL,因为几乎每个版本都会修复错误。
请注意,在项目范围之外运行cider-jack-in将导致使用较旧的(0.2.6) nREPL依赖项(至少在Leiningen 2.5.1上)。这很可能是Leiningen的bug。
https://github.com/clojure-emacs/cider#warning-saying-you-have-to-use-nrepl-027
https://stackoverflow.com/questions/31437519
复制相似问题