【问题标题】:Weird error in cider-jack-in苹果酒插入中的奇怪错误
【发布时间】:2015-08-30 15:00:51
【问题描述】:

我使用lein new 创建了一个clojure 项目,启动了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 的新手,顺便说一句...

你能帮帮我吗?

【问题讨论】:

  • 您尝试过旧版本的 cider-plugin 吗? 0.10.0-SNAPSHOT 听起来不稳定。我正在使用 0.6.0,因为 0.7 不适合我。您是否尝试过最新的稳定版本?

标签: emacs clojure cider


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-13
    • 1970-01-01
    • 2018-11-02
    • 1970-01-01
    • 2014-12-01
    • 2016-04-07
    相关资源
    最近更新 更多