This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-02
Channels
- # announcements (4)
- # aws (18)
- # beginners (227)
- # boot (1)
- # calva (13)
- # cider (22)
- # clara (2)
- # cljs-dev (17)
- # clojure (85)
- # clojure-brasil (2)
- # clojure-dev (55)
- # clojure-europe (2)
- # clojure-italy (18)
- # clojure-japan (4)
- # clojure-losangeles (1)
- # clojure-nl (5)
- # clojure-uk (53)
- # clojurescript (46)
- # clojureverse-ops (8)
- # cursive (17)
- # data-science (3)
- # datascript (3)
- # datomic (25)
- # duct (4)
- # emacs (2)
- # figwheel-main (1)
- # fulcro (9)
- # hoplon (2)
- # hyperfiddle (1)
- # jobs-discuss (5)
- # kaocha (7)
- # leiningen (3)
- # nrepl (50)
- # off-topic (32)
- # portland-or (1)
- # re-frame (19)
- # reitit (2)
- # shadow-cljs (30)
- # spacemacs (2)
- # sql (8)
- # tools-deps (4)
- # vim (26)
- # xtdb (3)
- # yada (8)
Is it possible to somehow in my emacs config make sure a specific version of nrepl is used?
you can put it in your ~/.lein/profiles.clj
?
Assuming you're using leiningen
Nrepl creates an nrepl server so it needs a hard dependency on nrepl. This means your choice of lein version dictates what version of nrepl you will get
Not really. If you put a different (newer) version in your project deps or profiles.clj it will override the built-in lein version.
I think you can’t have lower than the base version, but you can certainly override it with a newer version.
this happens when I start a repl from my project.clj
with cider, and also when I run this in my shell, in the project root:
lein update-in :dependencies conj \[nrepl\ \"0.6.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.22.0-SNAPSHOT\"\] -- repl
BUT not if I run that same line to start a repl outside a project. Any ideas? Or should I make a gh issue?ah interesting - that could be it. I just switched computers and I'm not having the same problem on this one so I will test that solution later. Thanks for the pointer @bozhidar!
what could be the cause of error Caused by: java.lang.Exception: namespace 'cider.nrepl.inlined-deps.orchard.v0v5v0-beta2.orchard.java' not found
when I launch a repl for a shadow-cljs
project.
Emmm. @thheller this is happened in a initial project which have only one cljs file with content (println "hello")
.
maybe this is the cause? Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.ClassDoc
found this issue https://github.com/clojure-emacs/cider/issues/2287