I tried to set up nrepl on windows 10 with both 1)java 8/clojure 1.8 , lein 2.8.1 and 2) java 11 and clojure 1.10.0-beta4, lein 2.8.1 . In both cases when I tried running
lein nrepl
It says repl server started but does not give me any repllein deps as shown below
:dependencies [[org.clojure/clojure "1.8.0"]
[nrepl "0.4.5"]
[nrepl/lein-nrepl "0.2.0"]
[cider/cider-nrepl "0.18.0"]
[refactor-nrepl "2.4.0"] ]
do I need any plugins in project.clj and lein profiles.clj? Please advise?
I tried adding the same in plugins as well.. No luck
@manas.marthi That’s because lein nrepl
current doesn’t have integration with reply
(that’s the actual repl).
The assumption I had was that most people would use the alternative plugin just to start a server and they’d connect it manually using CIDER or something similar.
lein repl
starts a server and then connects to it with REPLy. That’s something that can easily be added to lein nrepl
. I just never needed it. 🙂