Fork me on GitHub

@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"]
[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"]
[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]]
[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.


> Now what should be the minimum I need to add/change/set to use nrepl 0.5.1?


@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 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?


> Any idea when 2.8.2 is expected out?


Most likely next week.

👍 4