1

尝试更新 Cider 后,我一直无法启动 repl。

我收到以下错误消息,显然表明 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.

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

4

1 回答 1

1

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

您是否使用 elpa 安装 clojure-mode 和 cider?如果没有,那将是确保事情是最新的最好方法。请注意,如果您使用的是 elpa,那么删除苹果酒包并重新安装可能会有所帮助。苹果酒有很多更新,您的问题可能只是一个暂时性的问题,已经修复。我还会检查苹果酒网站,看看是否有任何已知问题。

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

于 2016-07-25T07:04:18.173 回答