-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cider-connect to existing nREPL server complains about refactor-nrepl not being available #2511
Comments
Okay, I found this section in the Troubleshooting docs and added the code to the project. That solves part 1. Now I'm getting
I've added |
This plugin does something only when you're using Btw, do you really need clj-refactor? I've noticed that many people tend to get it simply by virtue of using spacemacs. If you don't you can simply disable or remove it and the warning will go away. |
Okay, that makes sense. Not sure if I'm ready to do this yet, I'm still a Clojure newbie 😕
As of now, no. If it's not an essential part of CIDER then I'm probably not gonna miss it. |
Anyway, I'll close this then. Thanks for clearing things up @bbatsov |
No, it's not. It's the biggest extension CIDER has and at some point we plan a merger of the projects, but you can go pretty far without using |
I am having the same issue, on *nrepl-messages* I have dependencies and plugin My setup is basically a blank Luminus project, and I am simply trying to cider-connect to the nREPL on port 7000 fired by 'lein run'. Still I am getting
|
You don't need this one. It's something that I would ideally remove from Clojars (it was never announced and never intended to be used by anyone) as it confuses people from time to time. There are a few artefacts here and there that were just pushed with bad coordinates and are now left to haunt us. :-) //cc @danielcompton What's your lein version? |
Leiningen 2.9.1 on Java 1.8.0_101 Java HotSpot(TM) 64-Bit Server VM |
And removing |
No, still see the warning. |
Please could I ask for assistance with the middleware handlers to setup Clojure noob here. I am presuming that the local handler has to take an argument and pass it to the returning function somehow. It would be great if this was documented in full at the following location rather than the one without middleware https://docs.cider.mx/cider-nrepl/usage.html#_via_embedding_nrepl_in_your_app 🙏 |
Update: original issue solved, but there's a (less severe) follow-up issue, see below.
This problem may or may not be related to nrepl/nrepl#74.
When starting an external nREPL server and connecting to it via
cider-connect
, the welcome text reports this:;; WARNING: CIDER requires cider-nrepl to be fully functional. Many things will not work without it!
There's also a curious
user-error: ‘ivy-done’ requires the nREPL op "classpath" (provided by cider-nrepl)
, which indicates thatcider-nrepl
isn't loaded.Here's the
project.clj
file:Note: I'm explicitly using the
cider-nrepl
plugin to have it loaded. I've also used a version where the:middleware
line wasn't there. I added it due to a warning by Leiningen (Gitmaster
version).Here's to code to start the server:
Then I start the server with
lein run
andcider-connect
to it.For reference, here's the contents of the
*nrepl-messages*
buffer:Environment & Version information
CIDER version information
Lein/Boot version
The same behavior occurs with earlier versions of
lein
.Emacs version
Operating system
The text was updated successfully, but these errors were encountered: