Fork me on GitHub
#leiningen
<
2019-02-25
>
winkywooster16:02:13

Recently updated leiningen to 2.9.0, and now lein repl is failing..

$ lein repl

clojure.lang.Compiler$CompilerException: Syntax error compiling var at (cider/nrepl/middleware/pprint.clj:73:3).
#:clojure.error{:phase :compile-syntax-check, :line 73, :column 3, :source "cider/nrepl/middleware/pprint.clj", :symbol var}
 at clojure.lang.Compiler.analyzeSeq (Compiler.java:7114)
    clojure.lang.Compiler.analyze (Compiler.java:6789)
    clojure.lang.Compiler.analyze (Compiler.java:6745)

winkywooster16:02:25

I tried moving my ~/.clojure directory out of the way, and Iā€™m doing it in an empty directory. What else should I look for?

winkywooster16:02:11

This is on a mac with a homebrew installed leiningen and JDK 1.8..

$ lein version

Leiningen 2.9.0 on Java 1.8.0_202 Java HotSpot(TM) 64-Bit Server VM

cichli17:02:31

You need a more recent version of cider-nrepl in your ~/.lein/profiles.clj ā€“ 0.21.1

winkywooster17:02:10

ah.. forgot about ~/.lein

winkywooster17:02:13

thanks!

šŸ‘ 1