Fork me on GitHub
#nrepl
<
2018-11-01
>
bozhidar17:11:54

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

bozhidar17:11:04

Turned out this was a really trivial change.

manas_marthi17:11:09

Thank you. That would avoid new bie confusion.

manas_marthi17:11:27

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

manas_marthi17:11:19

Besides, should I need to worry about that warning ?

bozhidar17:11:24

Yeah, all the jars are deps of reply.

bozhidar17:11:50

You won’t see them after the first use.

bozhidar17:11:16

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

bozhidar17:11:47

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

manas_marthi17:11:13

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

manas_marthi17:11:43

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

bozhidar17:11:14

Works just fine when I test it.

bozhidar17:11:20

Can someone else take a look as well?

manas_marthi17:11:42

may be I messed up my deps

manas_marthi17:11:54

I was adding nrepl allover lein profiles and project deps

manas_marthi17:11:59

I will try again

bozhidar17:11:57

You only need lein nrepl in your profiles.clj.

manas_marthi17:11:17

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_marthi17:11:45

lein repl looks to have conflict

manas_marthi17:11:51

C:\clojureprojects\201812\archboard>lein repl
nREPL server started on port 61798 on host 127.0.0.1 - 
       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=> quit
Bye for now!

manas_marthi17:11:42

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

manas_marthi18:11:55

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_marthi18:11:30

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

manas_marthi18:11:08

profiles.clj contents

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

bozhidar18:11:01

That’s all I’ve got in profiles:

bozhidar18:11:03

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

bozhidar18:11:02

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

manas_marthi18:11:16

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 - 
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=>
lein nrepl still does not read my key strokes

manas_marthi18:11:36

I will try on a vm with fresh installation

manas_marthi18:11:48

and on home laptop so there is no proxy

manas_marthi18:11:57

and I will try on ubuntu vm