Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Emacs live+;Clojure+;苹果汁_Emacs_Clojure_Leiningen_Cider - Fatal编程技术网

Emacs live+;Clojure+;苹果汁

Emacs live+;Clojure+;苹果汁,emacs,clojure,leiningen,cider,Emacs,Clojure,Leiningen,Cider,我遇到了这样的问题:苹果酒会堆叠并停止对代码求值。我重新安装了GNU emacs 24.4.1和emacs Live。当我尝试启动M-x苹果酒插孔时出现以下错误: ; 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

我遇到了这样的问题:苹果酒会堆叠并停止对代码求值。我重新安装了GNU emacs 24.4.1和emacs Live。当我尝试启动
M-x苹果酒插孔时
出现以下错误:

; 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.079OpenJDK服务器虚拟机上的Leiningen 2.5.1

警告:您必须使用nREPL 0.2.7+

苹果酒目前至少需要NREPL0.2.7才能正常工作(0.2.6中有一些讨厌的bug)。不幸的是,最新的leiningen(2.5.1)正好是0.2.6,所以如果你是lein用户,你必须做一些手工工作。只需将此添加到您的配置文件中即可。clj:

确保将较新的nREPL依赖项添加到:dependencies键,而不是:plugins(苹果酒nREPL Lein插件所在的位置)。这是一个很常见的错误

一般来说,建议您将最新的nREPL与苹果酒一起使用,因为几乎每个版本都会修复bug

请注意,从项目范围外运行苹果酒插孔将导致使用较旧的(0.2.6)nREPL依赖项(至少在Leiningen 2.5.1上)。这可能是一个雷宁根虫子


repl只是有时评估,有时不评估!我应该在哪里找到profiles.clj?我应该将依赖项添加到project.clj吗?
{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10"]]}}