2016-07-24 34 views
1

嘗試更新蘋果酒後,我一直無法啓動一個repl。嘗試更新蘋果酒後無法啓動蘋果酒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. 

誰能告訴我是什麼問題可能是什麼?

回答

1

我不是不熟悉在Windows上運行emacs和clojure,但該錯誤似乎表明有一個參數不匹配。我會嘗試的第一件事是看看你是否可以運行lein repl。這應該告訴你,如果lein是好的。

你使用elpa來安裝clojure模式和蘋果酒嗎?如果不是,那將是確保事物最新的最佳方法。請注意,如果您使用的是elpa,那麼卸下蘋果酒包並重新安裝可能會有所幫助。蘋果酒獲得大量更新,你的問題可能只是一個已經解決的暫時問題。我也會檢查蘋果酒網站,看看是否有任何已知的問題。

我在週末更新到最新的(當時)蘋果酒,並且在OSX上沒有任何問題地運行它。

+0

是的,我使用elpa,是的,lein repl的作品。感謝您的建議,我試着更新,但沒有幫助。 –

+0

我會試圖完全刪除蘋果酒elpa包目錄,看看是否完全重新安裝工程。在一臺機器上,每次嘗試進行org-plus-contrib升級時都必須執行此操作,而在另一臺機器上,升級總是可用(一臺Linux,一臺OSX)。嘗試啓用調試錯誤,並查看您的蘋果酒插孔和蘋果酒連接的回溯。可能會提供更好的建議的足夠信息。 –