Hello. After yesterday's update, I'm having trouble launching and jacking-in the repl. While a simple lein repl does launch without a problem, the injection of nrepl and cider/cider-nrepl makes it fail with:
[WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/cider-middleware, see nrepl.middleware/set-descriptor!
Execution error (IllegalArgumentException) at nrepl.middleware.dynamic-loader/update-stack!$fn (dynamic_loader.clj:37).
Key must be integer
I wanted to check here before opening an issue. I tried playing around with the cider-nrepl / nrepl versions, but it didn't change anything.Please file an issue. Which versions of the nrepl dependencies are you using? Calva reports it in the jack-in window I think. Also the command line jack-in uses would be good to know.
@djblue, you think the update-in changes has something to do with this?
I was gonna say, replacing the update-in string by its equivalent with brackets and a space makes it work again.
I will file an issue with the commands.
π
Also. If you are using windows/linux/mac is interesting, since this is about building a command line.
Linux. Also replacing update-in ':repl-options:nrepl-middleware' by update-in '":repl-options:nrepl-middleware"' also seems to work, and is more true to lein's documentation. The change with brackets, I suspect, might do nothing.
Reported https://github.com/BetterThanTomorrow/calva/issues/3319.
Sorry for causing issues, not sure why this worked for me locally, but I can get a fix up if there isn't one already.
No worries! Not fixed yet. Let me know if you donβt have the time right now. If so, Iβll make some time. π
Now fixed (I hope)