LoginSignup
6
5

More than 5 years have passed since last update.

CIDERがCIDER nREPLの警告を出してきた時の対処

Posted at

問題と対策

cider-jack-inした時に、以下のようなWARNINGが出た場合の対処です。

WARNING: CIDER's version (0.8.0-snapshot) does not match cider-nrepl's version (not installed)
WARNING: The following required nREPL ops are not supported: 
classpath (略)
Please, install (or update) cider-nrepl 0.8.0-snapshot and restart CIDER

CIDERとバージョンの一致するCIDER nREPLEがインストールされていない、とお怒りなので入れて差し上げましょう。

${HOME}/.lein/profiles.cljに以下を記述します。

:plugins [[cider/cider-nrepl "0.8.0-SNAPSHOT"]]

バージョンをここでは0.8.0-SNAPSHOTとしていますが、お使いのCIDERに合わせて下さい。

オマケ: profiles.clj の設定全体

この記事の投稿次点で、自分の${HOME}/.lein/profiles.cljは以下の内容となっています。
何かの参考になれば。

{:user {:dependencies [[slamhound "RELEASE"]
                       [org.clojure/tools.trace "RELEASE"]
                       [criterium "0.4.3"]]
        :aliases {"slamhound" ["run" "-m" "slam.hound"]}
        :plugins [[lein-kibit "RELEASE"]
                  [cider/cider-nrepl "0.8.0-SNAPSHOT"]]}}
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5