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
Leiningen 2.8.2, cider-nrepl 0.19.0-SNAPSHOT, nrepl 0.5.3 ClassCastException nrepl.transport.Transport #574
Comments
I got a working REPL by using this profile as outlined in the README:
I think the issue is something to do with how Leiningen is handling the nrepl-middleware? Not entirely sure how all this stuff works. I still get this output:
But it works |
@leblowl If I had to guess I'd say you probably have something loading the legacy tools.nrepl in your deps or in your user.clj. The warnings you get would normally mean that cider-nrepl found that you had tools.nrepl loaded at the time it was loading (instead of the modern nREPL).
Seems to me that you've configured the middleware properly. |
I saw tools.nrepl in a stacktrace so I think you are right. I will scan the
deps, maybe something else is bringing it in. Thanks
…On Mon, Dec 17, 2018 at 1:22 AM Bozhidar Batsov ***@***.***> wrote:
@leblowl <https://github.com/leblowl> If I had to guess I'd say you
probably have something loading the legacy tools.nrepl in your deps or in
your user.clj. The warnings you get would normally mean that cider-nrepl
found that you had tools.nrepl loaded at the time it was loading (instead
of the modern nREPL).
I think the issue is something to do with how Leiningen is handling the
nrepl-middleware? Not entirely sure how all this stuff works.
Seems to me that you've configured the middleware properly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#574 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD2siG61pVIHa3TUtCehOy1ADvsg65i_ks5u51RcgaJpZM4ZT-86>
.
--
Lucas Leblow
925-276-2056
|
@leblowl Did you manage to figure this out? |
Sorry, got sidetracked on another task. Apparently figwheel-sidecar depends on tools.nrepl and requires it. When I exclude tools.nrepl, figwheel complains. I removed figwheel-sidecar and both warnings and errors are gone. Thanks! |
Got it! I'll link this ticket to a related upstream issue bhauman/lein-figwheel#718 |
Btw, an easy way to figure out where a dependency is coming from is |
Not sure what is going on, but just updated Leiningen and getting this error which references cider-nrepl. Not even sure how to start tracking this one down. Any thoughts? I am going to start by updating to Java 11 since I am planning to do that anyway.
Expected behavior
lein repl
launches REPLActual behavior
Steps to reproduce the problem
profile:
change into my private project directory and run
lein repl
Environment & Version information
cider-nrepl version
0.19.0-SNAPSHOT
Java version
java 10.0.2 2018-07-17
Operating system
Linux
The text was updated successfully, but these errors were encountered: