相关疑难解决方法(0)

如何升级leiningen的nrepl版本?

我正在使用leiningenemacs+ cider用于clojure开发.几天前,在我cider通过emacs包管理器升级后,当我运行M-x cider-connect或运行时,我收到以下警告消息M-x cider-jack-in.

; CIDER 0.9.0snapshot (package: 20150222.137) (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 to work properly
user> 
Run Code Online (Sandbox Code Playgroud)

警告信息明确表示我必须将nrepl升级到0.2.7,但是,我不知道如何.

我安装了leiningenvia brew,它使用了nrepl 0.2.6.

$ lein repl
nREPL server started on port 53218 on host 127.0.0.1 - nrepl://127.0.0.1:53218
REPL-y 0.3.5, nREPL 0.2.6
Clojure 1.6.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc …
Run Code Online (Sandbox Code Playgroud)

emacs clojure leiningen

44
推荐指数
3
解决办法
8207
查看次数

安装cider-nrepl

我已经安装了CIDER 0.7.0,现在当我在Emacs(via M-x cider-jack-in RET)中启动时,我收到以下警告:

警告:CIDER的版本(0.7.0)与cider-nrepl的版本(未安装)不匹配

我已经下载了cider-nrepl,发现它包含闭包代码,而不是emacs lisp代码.自从我今天开始探索Clojure世界,并且项目页面上没有安装说明,你能告诉我如何安装cider-nrepl?

lisp emacs clojure cider read-eval-print-loop

20
推荐指数
1
解决办法
5682
查看次数

无法在Emacs中启动`lein` REPL

在Emacs中,使用时clojure-mode,我应该能够启动REPL C-c C-z.不过,每当我尝试时,我都会收到错误:

Searching for program: no such file or directory: lein
Run Code Online (Sandbox Code Playgroud)

lein安装在/usr/local/bin(通过brew)并/usr/local/bin在我的PATH(甚至Emacs说,通过eval-expression (getenv "PATH")).

我错过了什么?

emacs clojure leiningen

14
推荐指数
1
解决办法
5891
查看次数

标签 统计

clojure ×3

emacs ×3

leiningen ×2

cider ×1

lisp ×1

read-eval-print-loop ×1