Fork me on GitHub
#leiningen
<
2021-10-18
>
Quentin Le Guennec12:10:03

Hello, after upgrading to lein 2.9.7, I can't compile my project anymore because of this error:

[nREPL] Starting server via /usr/bin/lein update-in :dependencies conj \[nrepl/nrepl\ \"0.9.0-beta3\"\] -- update-in :plugins conj \[refactor-nrepl/refactor-nrepl\ \"3.0.0-alpha13\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.27.2\"\] -- repl :headless :host localhost
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Pathological dependency tree detected; consider disabling pedantic.
Pathological dependency tree detected; consider disabling pedantic.
I wonder what it exactly means.

richiardiandrea21:10:28

Hi there, I am reviving a lein project and wanted to use a versioning scheme counts the commits, similar to what ClojureScript does (`1.10.439, 1.10.879`, etc) Is there a plugin that does that automagically?

Alex Miller (Clojure team)21:10:18

it's just basically git rev-list HEAD --count

richiardiandrea22:10:43

nice! and yes we time we'll move to tools.build and also thanks for the snipped, did not know it was that easy 😄

richiardiandrea22:10:35

I already tried two projects and I think I am about to move to deps.edn right away - both of them were failing to build an uberjar

eskos20:10:53

EDIT: nm, misread