Closed bhauman closed 5 years ago
I can't imagine how this can happen - see https://github.com/nrepl/piggieback/blob/master/src/cider/piggieback.clj#L19
I've tested this myself and it works fine with tools.nrepl
. The only way for this to fail is at the time piggieback
's loaded tools.nrepl
is not yet loaded itself. Do you have some init code that might be causing things to load out of order?
Your problem also reminded me of https://github.com/thheller/shadow-cljs/issues/360, which might be similar to your problem.
fixed with 52bd0590329eb10fa941a430588a97a687ba3e94
Not that piggieback doesn't support tools.nrepl
at all (as of 0.4) there's no more potential for ambiguity. I think figwheel and shadow can also drop whatever compatibility code they have.
I'm reporting this just in case its indicative of a larger issue. And I'd like
lein repl
to work so that I can test the various cljs repls that I've setup inuser.clj
To reproduce:in the root of this project:
lein repl
As you can see the nrepl/nrepl middleware is in there and its messing stuffs up.