尝试更新苹果酒后无法启动苹果酒REPL

时间:2016-07-24 14:11:54

标签: emacs clojure cider

尝试更新Cider后,我无法开始复制。

我收到以下错误消息,显然显示Leiningen存在问题:

Loading c:/emacs/graphviz-dot-mode.el (source)...
graphviz-dot-mode.el: (lambda (elm) ...) quoted with ' rather than with #' [4 times]
Loading c:/emacs/graphviz-dot-mode.el (source)...done
Loading c:/emacs/xml-rpc.el (source)...
xml-rpc.el: (lambda (p) ...) quoted with ' rather than with #'
Loading c:/emacs/xml-rpc.el (source)...done
Loading c:/emacs/py/emacs-for-python/epy-init.el (source)...
Loading c:/emacs/py/emacs-for-python/extensions/flymake-patch.el (source)...done
Loading c:/emacs/py/emacs-for-python/extensions/flymake-cursor.el (source)...done
py/emacs-for-python/extensions/auto-complete/auto-complete.el: `flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.
Loading c:/emacs/py/emacs-for-python/epy-init.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making nrepl-create-client-buffer-function local to *nrepl-server graphics* while let-bound!
Making nrepl-use-this-as-repl-buffer local to *nrepl-server graphics* while let-bound!
Starting nREPL server via "c:/Users/Owner/.lein/bin/lein.bat" update-in :dependencies conj ^"[org.clojure/tools.nrepl \^"0.2.12\^"]^" -- update-in :plugins conj ^"[cider/cider-nrepl \^"0.13.0-SNAPSHOT\^"]^" -- repl :headless...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: warning: extra args ignored after '"c:/Users/Owner/.lein/bin/lein.bat'
Leiningen is a tool for working with Clojure projects.

谁能告诉我这个问题可能是什么?

1 个答案:

答案 0 :(得分:1)

我并不熟悉在Windows上运行emacs和clojure,但该错误似乎表明存在参数不匹配。我要尝试的第一件事是看你是否可以运行lein repl。这应该告诉你lein是否正常。

您是否正在使用elpa来安装clojure-mode和cider?如果没有,那将是确保事情处于最新状态的最佳方式。请注意,如果您使用的是elpa,那么可能需要删除苹果酒包并重新安装它可能有所帮助。苹果酒有很多更新,你的问题可能只是一个已经修复的短暂问题。我还会查看苹果酒网站,看看是否有任何已知问题。

我在周末更新了最新的(当时的)苹果酒,并且在OSX上运行时没有任何问题。