OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.

But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.

The error is in a #leiningen project built on a #luminus template.

Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/cljs__init.class or cider/nrepl/middleware/util/cljs.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)

/Continued

My project does not reference cider at all, either as a lein plugin or as a dependency. The temporary file referenced in the error message gets cleaned up, so I cannot examine it.

Ideas?

@simon_brooke What are you doing when the error occurs?

@daveliepmann Trying to start a REPL.

But the answer *may* be here:

> Warning: cider-nrepl requires Clojure 1.10.0 or greater.
> Warning: cider-nrepl will not be included in your project.

I'm going to try `lein ancient upgrade :check-clojure :no-tests` and see if that improves things.

@simon_brooke Yeah I recall enabling CIDER required more config/deps, it felt brittle at the time
@daveliepmann Aye, re-attempting `lein repl` still fails, but it fails with errors in a library (ring) that I know I'm using, so I need to check down an API change.
GitHub - clojure-emacs/clj-refactor.el: A CIDER extension that provides powerful commands for refactoring Clojure code.

A CIDER extension that provides powerful commands for refactoring Clojure code. - clojure-emacs/clj-refactor.el

GitHub
@rlonstein no, I gave up emacs back in the last century.
@simon_brooke That's fair, so it's not getting injected there. The template may have included cider and luminus does enable nrepl.