現在のプロジェクトを起動し、lein ring server
サイダー経由で Emacs から接続しようとすると、次の警告が表示されます。
; CIDER 0.8.2 (Java 1.7.0_51, Clojure 1.6.0, nREPL 0.2.6)
WARNING: The following required nREPL ops are not supported:
apropos classpath complete eldoc info inspect-start inspect-refresh inspect-pop inspect-push inspect-reset macroexpand ns-list ns-vars resource stacktrace toggle-trace-var toggle-trace-ns undef
Please, install (or update) cider-nrepl 0.8.2 and restart CIDER
user>
しかし、私は[cider/cider-nrepl "0.8.2"]
私のproject.clj
. これは実行時に問題なく動作lein repl
し、サイダーから問題なく接続できます。
; CIDER 0.8.2 (Java 1.7.0_51, Clojure 1.6.0, nREPL 0.2.6)
swedishchef.handler>
leiningen wrt から 2 つの異なるメッセージを受け取っていることがわかります。nREPL、開始方法に応じて:
[sugarcube->swedishchef]lein ring server
See https://github.com/technomancy/leiningen/wiki/Repeatability)
Started nREPL server on port 44231
これは、cider-nrepl 接続が機能している出力です。
[sugarcube->swedishchef]lein repl
See https://github.com/technomancy/leiningen/wiki/Repeatability)
nREPL server started on port 38024 on host 127.0.0.1 - nrepl://127.0.0.1:38024
REPL-y 0.3.5, nREPL 0.2.6
の出力を見るとlein deps :tree
、問題は見られません。したがって、私の最初の質問は、これが機能するはずかどうか、つまり、s の動作cider-nrepl
を上書きする必要があるかどうかです。lein ring
nrepl 起動するには?もしそうなら、誰かがさらなるトラブルシューティングのためにアドバイスを与えることができますか?