0

clojure使用创建了一个项目lein new,开始GNU Emacs,打开了文件core.clj,当我尝试插入时cider-jack-in它吹掉了:

Making nrepl-create-client-buffer-function local to *nrepl-server clojure-noob* while let-bound!
Making nrepl-use-this-as-repl-buffer local to *nrepl-server clojure-noob* while let-bound!
Starting nREPL server via lein repl :headless...
nREPL server started on 37124
nREPL: Establishing direct connection to localhost:37124 ...
nREPL: Direct connection established
error in process filter: cider-repl-set-initial-ns: Symbol's value as variable is void: ns
error in process filter: Symbol's value as variable is void: ns

然后(显然)什么也没发生

我的core.clj文件是:

(ns clojure-noob.core
  (:gen-class))

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (println "¡Soy una tetera pequeña y fuerte!"))

如您所见,没有什么花哨或任何东西......(它与 一起运行lein run

.lein/profiles.clj的很简单:

{:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]}}

我的cider版本是:

CIDER 0.10.0snapshot (package: 20150830.328)

据报道M-x cider-version

我是新来的Clojure,顺便说一句...

你可以帮帮我吗?

4

1 回答 1

2

这是最新版本的错误cider(已修复:http ://bit.ly/1UfNgE9 )。

就目前而言,您可以在本地cider安装上手动应用此更改,或者等待修复发布。

于 2015-08-30T19:24:40.320 回答