nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
manas_marthi 2018-11-01T04:42:04.029Z

@bozhidar noted. thank you.

bozhidar 2018-11-01T17:00:54.029500Z

@manas.marthi Btw, I cut version 0.3 of the plugin today, which will now start a REPL just like lein repl.

bozhidar 2018-11-01T17:01:04.029800Z

Turned out this was a really trivial change.

manas_marthi 2018-11-01T17:04:09.030500Z

Thank you. That would avoid new bie confusion.

manas_marthi 2018-11-01T17:09:27.031100Z

@bozhidar It downloaded bunch of jars . Are all these affected?

manas_marthi 2018-11-01T17:10:19.031700Z

Besides, should I need to worry about that warning ?

bozhidar 2018-11-01T17:12:24.032Z

Yeah, all the jars are deps of reply.

bozhidar 2018-11-01T17:12:50.032300Z

You won’t see them after the first use.

bozhidar 2018-11-01T17:13:16.032700Z

The warning is something upstream - you can safely ignore it.

bozhidar 2018-11-01T17:13:47.033200Z

Seems that ns needs a core exclude, which is not a big deal.

manas_marthi 2018-11-01T17:16:13.034400Z

Noted thank you. I added the plugin version number to the documentation (installation) page and sent a pull request

manas_marthi 2018-11-01T17:26:43.035200Z

@bozhidar the repl is not responding user/help, quit, exit, ctrl+D

manas_marthi 2018-11-01T17:26:53.035400Z

had to ctrl+c

bozhidar 2018-11-01T17:28:14.035700Z

Works just fine when I test it.

bozhidar 2018-11-01T17:28:20.035900Z

Can someone else take a look as well?

manas_marthi 2018-11-01T17:31:42.036900Z

may be I messed up my deps

manas_marthi 2018-11-01T17:31:54.037300Z

I was adding nrepl allover lein profiles and project deps

manas_marthi 2018-11-01T17:31:59.037600Z

I will try again

bozhidar 2018-11-01T17:33:57.038Z

You only need lein nrepl in your profiles.clj.

manas_marthi 2018-11-01T17:51:17.038800Z

Not sure what I did wrong. I cleared all plugins from .lein\profiles.clj and tried. still same issue. Added all jars in deps & plugins in project.clj. again same problem. tested lein repl again. got a diferent problem

manas_marthi 2018-11-01T17:51:45.039300Z

lein repl looks to have conflict

manas_marthi 2018-11-01T17:51:51.039500Z

C:\clojureprojects\201812\archboard>lein repl
nREPL server started on port 61798 on host 127.0.0.1 - <nrepl://127.0.0.1:61798>
       mjava.lang.ClassNotFoundException: nrepl.core
mclojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: nrepl.core, compiling:(C:\Users\mman\AppData\Local\Temp\form-init799261887591824035.clj:1:82)
mjava.lang.Exception: No namespace: reply.eval-modes.nrepl found

Error loading namespace; falling back to user
#namespace[user]nil
user=&gt; quit
Bye for now!

manas_marthi 2018-11-01T17:52:42.040700Z

my lein is version 2.8.1 . not sure if it has anything to do that

manas_marthi 2018-11-01T18:00:55.041500Z

removed everything in project.clj except

:dependencies [[org.clojure/clojure "1.8.0"]
				 [nrepl "0.4.5"]
			 ]
  :plugins [
 				 [nrepl/lein-nrepl "0.3.0"]
]

manas_marthi 2018-11-01T18:01:30.042100Z

no luck. looking for the emoji to bang head against keyboard 😂

manas_marthi 2018-11-01T18:05:08.043100Z

profiles.clj contents

{:user
  {
   :plugins [
		[nrepl/lein-nrepl "0.3.0"]
	]
   }

bozhidar 2018-11-01T18:10:01.043400Z

That’s all I’ve got in profiles:

bozhidar 2018-11-01T18:10:03.043600Z

{:user
 {:plugins [[lein-kibit "0.0.8"]
            [lein-ancient "0.6.15"]
            [lein-annotations "0.1.0"]
            [nrepl/lein-nrepl "0.3.0"]]}}

bozhidar 2018-11-01T18:11:15.043800Z

bozhidar 2018-11-01T18:14:02.045Z

Not sure why the lein-nrepl plugin managed to override the version of reply bundled with lein, though.

manas_marthi 2018-11-01T18:36:16.047200Z

I added these plugins to my profiles. Still no change. lein repl produced this message

nREPL server started on port 49822 on host 127.0.0.1 - <nrepl://127.0.0.1:49822>
Exception No namespace: reply.eval-modes.nrepl found  clojure.core/the-ns (core.clj:4032)
CompilerException java.lang.ClassNotFoundException: nrepl.core, compiling:(C:\Users\mmaun\AppData\Local\Temp\form-init3914890660694616311.clj:1:82)

Error loading namespace; falling back to user
#object[clojure.lang.Namespace 0x72649392 "user"]nil
user=&gt;
lein nrepl still does not read my key strokes

manas_marthi 2018-11-01T18:36:36.047600Z

I will try on a vm with fresh installation

manas_marthi 2018-11-01T18:36:48.047900Z

and on home laptop so there is no proxy

manas_marthi 2018-11-01T18:36:57.048300Z

and I will try on ubuntu vm