Fork me on GitHub
#editors-rus
<
2015-12-22
>
dima18:12:40

привет, не получается побороть баг в spacemacs:

Please, install (or update) cider-nrepl 0.11.0-SNAPSHOT and restart CIDER
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
переустановка и советы из гугл не помогают
$ cat ~/.lein/profiles.clj
{:user  {:dependencies [[alembic "0.3.2"]
                        [cljfmt "0.1.10"]]
         :plugins  [[lein-kibit "0.0.8"]
                    [lein-ancient "0.6.7"]
                    [cider/cider-nrepl "0.11.0-SNAPSHOT"]
                    [refactor-nrepl "2.0.0-SNAPSHOT”]

dima18:12:12

есть идеи куда смотреть?

gumayunov20:12:23

тоже с этой штукой сталкивался, но так и не понял что с чем должно совпасть. в итоге сейчас spacemacs из коробки работает с

23:14  ~>cat ~/.lein/profiles.clj
{:repl {:plugins [[cider/cider-nrepl "0.9.1"]
                  [refactor-nrepl "1.1.0"]
                  ]}}

andfadeev20:12:45

А refactor-nrepl в локальном репозитории есть?

gumayunov20:12:21

ага, работат, конечно facepalm

; CIDER 0.11.0snapshot (package: 20151219.1128) (Java 1.8.0_60, Clojure 1.7.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
WARNING: The following nREPL ops are not supported:
find-used-locals namespace-aliases
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.9.1). Things will break!
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and 1.1.0, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
Сейчас будет как у Дмитрия, видимо simple_smile

gumayunov20:12:20

ан нет, чуть лучше

; CIDER 0.11.0snapshot (package: 20151219.1128) (Java 1.8.0_60, Clojure 1.7.0, nREPL 0.2.10)
WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
riemann.bin>

gumayunov20:12:41

вот так без ворнингов:

{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
        :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
                  [refactor-nrepl "2.0.0-SNAPSHOT"]]}}
@trybeee: Ничего особо не делал, кроме configuration-layer/update-packages пару дней назад. глупый вопрос - а в project.clj у тебя не прописаны другие версии?

dima21:12:37

>andfadeev А refactor-nrepl в локальном репозитории есть?

$ ls ~/.m2/repository/refactor-nrepl/refactor-nrepl/2.0.0-SNAPSHOT
_maven.repositories                              refactor-nrepl-2.0.0-20151216.174956-14.jar.sha1 refactor-nrepl-2.0.0-SNAPSHOT.pom
maven-metadata-clojars.xml                       refactor-nrepl-2.0.0-20151216.174956-14.pom      resolver-status.properties
maven-metadata-clojars.xml.sha1                  refactor-nrepl-2.0.0-20151216.174956-14.pom.sha1
refactor-nrepl-2.0.0-20151216.174956-14.jar      refactor-nrepl-2.0.0-SNAPSHOT.jar