This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-24
Channels
- # announcements (2)
- # beginners (131)
- # calva (4)
- # cider (29)
- # cljs-dev (18)
- # cljsrn (8)
- # clojure (61)
- # clojure-czech (1)
- # clojure-europe (5)
- # clojure-italy (14)
- # clojure-nl (6)
- # clojure-switzerland (2)
- # clojure-uk (125)
- # clojuredesign-podcast (10)
- # clojurescript (25)
- # clojutre (15)
- # clr (4)
- # code-reviews (4)
- # data-science (1)
- # emacs (1)
- # events (2)
- # fulcro (12)
- # graalvm (4)
- # jobs (2)
- # keechma (1)
- # off-topic (1)
- # pathom (18)
- # re-frame (3)
- # reagent (7)
- # shadow-cljs (106)
- # spacemacs (33)
- # sql (12)
- # xtdb (5)
Already fixed on master
- https://github.com/clojure-emacs/cider-nrepl/pull/650
Hi. I am using Spacemacs with CIDER. My projects are configured via deps.edn
. When I cider-jack-in-clj
in my main project, all CIDER functions (like code completion) work in namespaces of this project. But I also have multiple projects, my main project depends on. When I open a file from one of these projects, code completion does not work there. I have included the other projects via extra-paths
in my deps.edn
. Is there a way to make CIDER work in these dependency projects as well? Thank you!
I recently attempted to upgrade CIDER. With all versions of cider-nrepl
above 0.20.0, I see this error attempting to start a lein repl
:
Error loading cider.nrepl: Syntax error compiling at (cider/nrepl.clj:1:1).
<stacktrace>
Caused by: java.lang.RuntimeException: Unable to resolve var: cider.nrepl/wrap-apropos in this context
I am also having issues with CIDER after upgrading. Its only happening in one project and I believe the issue lies with tools.nrepl
and nrepl
both being pulled in as dependencies. Although I do not have tools.nrepl
listed a dependency in the project.clj
nor do I see it in the deps tree. I also do not have a profiles.clj at the .lein level.
Sorry, I am not familiar with plugin tree, only lein deps :tree
. How do I see the plugin tree?
It looks like I'm getting nrepl 0.5.3 somehow even though cider-nrepl depends on 0.6.0. That may be the problem. I will try to figure out why that's happening.
lein itself (2.8.3) was depending on nrepl 0.5.3, overriding cider-nrepl's dependency on 0.6.0. I upgrade to the latest lein, which depends on 0.6.0, and now it works fine.
@mario.cordova.862 I’m guessing you’re on some old version of lein as well, right?
I wasn't looking at the right deps tree since I start the repl with lein with-profile clj,dev and ive been looking at lein deps :tree
Now that I got rid of the tools.nrepl I dont see the message but It still freezing. Here is the backtrace I got
Debugger entered--Lisp error: (quit)
accept-process-output(nil 0.01)
nrepl-send-sync-request(("op" "version" "prefix-rewriting" "false" "debug" "false") #<buffer *cider-repl Projects/decision-service:localhost:63335(clj)*> nil)
cider-nrepl-send-sync-request(("op" "version" "prefix-rewriting" "false" "debug" "false"))
cljr--call-middleware-sync(("op" "version" "prefix-rewriting" "false" "debug" "false") "version")
cljr--middleware-version()
cljr--check-middleware-version()
cljr--init-middleware()
run-hooks(cider-connected-hook)
#f(compiled-function () #<bytecode 0x4631a541>)()
#f(compiled-function (buffer) #<bytecode 0x4503830d>)(#<buffer *cider-repl Projects/decision-service:localhost:63335(clj)*>)
#f(compiled-function (response) #<bytecode 0x44bb38dd>)((dict "id" "4" "session" "7abfa665-75ed-4a05-82d3-2e2d5dfe88ab" "status" ("done")))
#f(compiled-function (response) #<bytecode 0x44bb391d>)((dict "id" "4" "session" "7abfa665-75ed-4a05-82d3-2e2d5dfe88ab" "status" ("done")))
nrepl--dispatch-response((dict "id" "4" "session" "7abfa665-75ed-4a05-82d3-2e2d5dfe88ab" "status" ("done")))
nrepl-client-filter(#<process nrepl-connection> "d2:id1:42:ns40:com.pm.decision-service.handler7:session36:7abfa665-75ed-4a05-82d3-2e2d5dfe88abed2:id1:47:session36:7abfa665-75ed-4a05-82d3-2e2d5dfe88ab6:statusl4:doneee")