This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-05
Channels
- # adventofcode (246)
- # aleph (5)
- # aws (7)
- # beginners (161)
- # boot (3)
- # calva (42)
- # cider (40)
- # clara (10)
- # cljdoc (7)
- # cljs-dev (40)
- # cljsrn (6)
- # clojure (170)
- # clojure-dev (8)
- # clojure-greece (2)
- # clojure-italy (15)
- # clojure-kc (2)
- # clojure-new-zealand (13)
- # clojure-nl (13)
- # clojure-russia (3)
- # clojure-spec (5)
- # clojure-uk (160)
- # clojurescript (72)
- # clojurex (1)
- # cursive (7)
- # data-science (9)
- # datascript (1)
- # datomic (120)
- # devcards (4)
- # emacs (18)
- # figwheel-main (10)
- # fulcro (34)
- # kaocha (3)
- # luminus (1)
- # lumo (6)
- # music (1)
- # nrepl (23)
- # off-topic (2)
- # pedestal (4)
- # re-frame (42)
- # reagent (36)
- # reitit (10)
- # ring-swagger (21)
- # shadow-cljs (124)
- # spacemacs (6)
- # tools-deps (14)
- # unrepl (3)
- # vim (2)
@dchelimsky All of this is super odd as for me lein nrepl
works just fine without any need for additional setup. 🙂
Might be easier for you to simply build lein
from master
, as there its already using the latest nREPL.
(Phil told me recently the lein
is feature complete at this point and the next stable release will happen in a week or two)
Btw, as the plugin depends only on nREPL I’m puzzled that you ran into any issues with pedantic. Was this due to tools.logging
? I removed it in 0.5.1, but I haven’t updated the plugin for it.
@bozhidar with a fresh install of prelude, modified only by enabling prelude-clojure, cider installed via package-list-packages, and no deps or plugins defined in ~/.lein/profiles.clj, cider-jack-in
in a freshly generated lein new foo
gets me "CIDER 0.18.0 (Saigon), nREPL 0.2.12", as expected. Now what should be the minimum I need to add/change/set to use nrepl 0.5.1?
The pedantic issues are plentiful, btw. Even now, in the state described above, if I add :pedantic? :abort
I get
error in process sentinel: Could not start nREPL server: Possibly confusing dependencies found:
[s3-wagon-private "1.3.1"] -> [com.amazonaws/aws-java-sdk-s3 "1.11.184" :exclusions [com.fasterxml.jackson.core/jackson-core c\
om.fasterxml.jackson.core/jackson-databind]] -> [com.amazonaws/aws-java-sdk-core "1.11.184"] -> [commons-logging "1.1.3"]
overrides
[s3-wagon-private "1.3.1"] -> [com.amazonaws/aws-java-sdk-s3 "1.11.184" :exclusions [com.fasterxml.jackson.core/jackson-core c\
om.fasterxml.jackson.core/jackson-databind]] -> [com.amazonaws/aws-java-sdk-kms "1.11.184"] -> [com.amazonaws/aws-java-sdk-cor\
e "1.11.184"] -> [org.apache.httpcomponents/httpclient "4.5.2"] -> [commons-logging "1.2"]
and
[s3-wagon-private "1.3.1"] -> [com.amazonaws/aws-java-sdk-s3 "1.11.184" :exclusions [com.fasterxml.jackson.core/jackson-core c\
om.fasterxml.jackson.core/jackson-databind]] -> [com.amazonaws/aws-java-sdk-core "1.11.184"] -> [org.apache.httpcomponents/htt\
pclient "4.5.2"] -> [commons-logging "1.2"]
Consider using these exclusions:
[s3-wagon-private "1.3.1" :exclusions [commons-logging]]
Aborting due to :pedantic? :abort
So then I add recommended exclusions and get
Possibly confusing dependencies found:
[org.clojure/tools.nrepl "0.2.13" :exclusions [org.clojure/clojure]]
overrides
[org.clojure/tools.nrepl "0.2.12" :exclusions [org.clojure/clojure]]
Consider using these exclusions:
Aborting due to :pedantic? :abort
Same deal if I just get rid of the s3-wagon-private plugin entirely.
The tools nrepl thing might be a conflict with the internal Leiningen one. You may need an explicit dependency.
@dchelimsky You’re on Lein 2.8.1, right?
If so - the simplest thing to do is to install the lein snapshot for 2.8.2 and everything will be great.
I'll give it a shot
As the artefact coordinates changed there’s no easy way to override the nREPL dep in 2.8.1, that’s why I created the separate lein-nrepl
plugin as a stop gap measure.
I never used it with jack-in, though - I’d run lein nrepl
and then cider-connect
to it.
As for the nREpl conflicts you got - I guess you’ve got some dependency to 0.2.13 somewhere (lein 2.8.1 uses 0.2.12), but I can’t guess which one. All recent CIDER related libs depend on the “new” nREPL, not on tools.nrepl
, so it can’t be coming from them. At least it shouldn’t be. 🙂
One thing after another. I just grabbed https://github.com/technomancy/leiningen/blob/master/bin/lein and get this executing it:
$ lein
Downloading Leiningen to /Users/david/.lein/self-installs/leiningen-2.8.2-SNAPSHOT-standalone.jar now...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Failed to download (exit code 22)
It's possible your HTTP client's certificate store does not have the
correct certificate authority needed. This is often caused by an
out-of-date version of libssl. It's also possible that you're behind a
firewall and haven't set HTTP_PROXY and HTTPS_PROXY.
And I can't seem to build an uberjar locally.
Any idea when 2.8.2 is expected out?