leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
hoynk 2019-07-26T18:28:14.012900Z

I use docker and after upgrading the base image from clojure:lein-2.8.1 to clojure:lein-2.9.1 (or clojure:lein-2.8.3) it keeps giving me an error: ERROR: Unhandled REPL handler exception processing message {:id fb3d6c38-2059-44b2-a094-2bbcca6d82d9, :op clone} java.lang.ClassCastException: clojure.tools.nrepl.middleware.render_values$wrap_renderer$reify__28625 cannot be cast to nrepl.transport.Transport Anybody knows what I'm doing wrong? Found an old bug that seemed like it but was supposed to be fixed, also was thinking about upgrading nREPL but don´t know how do that on the repl leiningen uses.

hoynk 2019-07-26T20:24:45.013900Z

Found what was wrong, I had an old version of venantius/ultra on the :user profile. After upgrading everything is just fine again 🙂

Fredrik Meyer 2019-07-26T20:37:17.016300Z

I’ve made a Leiningen template which I have installed with “lein install”. That worked fine, but I found something wrong in the template, so I updated it, saved, and ran “lein install” again. But now when I try “lein new my-template new-project”, I still get the old version! I’ve tried deleting the folder inside ~/.m2, but I still get the old version. I have no idea where it finds it :S My problem is similar to this one: https://github.com/technomancy/leiningen/issues/2565 . When I write “lein help new”, the old version of the template is listed :S

Fredrik Meyer 2019-07-26T20:59:04.016500Z

Bah, silly me. The problem was this: I had a project.clj in my ~/code directory, interfering with the usual lein new….