[英]current session error opening REPL in emacs with CIDER
我一直在關注一個教程,但發現書中沒有一個錯誤。 我已經重新安裝了leinigen,更新了Java,並在emacs上重新安裝了蘋果酒。
但似乎無濟於事,我也無法在線找到此錯誤消息。 運行Mx“ cider-jack-in”打開REPL會給我錯誤消息:
“符號的函數定義無效:sesman-current-sessions”
而且我不知道是什么原因造成的,非常感謝您的幫助。
我遇到了同樣的問題。 您使用的是sesman
軟件包的舊版本。 對我而言,更新cider
並沒有更新sesman
依賴性。
例如, sesman-20180903.1826
未定義sesman-current-sessions
而sesman-20181109.1100
卻定義了。 更新sesman
為我解決了這個問題。
您可以發布project.clj
文件嗎? 也許它包含的舊版本庫可能與最新的CIDER沖突。
使用lein new app myapp
創建的新項目中的典型最小project.clj
如下所示:
(defproject myapp "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.9.0"]]
:main ^:skip-aot overflow.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.