Fork me on GitHub
#nrepl
<
2019-03-26
>
cfleming20:03:04

In the latest Cursive, I’ve upgraded the nREPL used internally to nrepl:nrepl:0.6.0.

cfleming20:03:13

I have a user with a CLJS project using Leiningen who’s reporting that under this version his app breaks at startup, with an error like this:

Exception in thread "main" java.lang.RuntimeException: No such var: nrepl.transport/uri-scheme, compiling:(/private/var/folders/fw/gd1yg_sd5sx_dvqv5pnk6f3m0000gn/T/form-init4758704793550975827.clj:1:3327)
    at clojure.lang.Compiler.analyze(Compiler.java:6792)
    at clojure.lang.Compiler.analyze(Compiler.java:6729)

cfleming20:03:40

Cursive doesn’t use that var at all, and I’m awaiting details on what his stack looks like. But does that look familiar to anyone?

cfleming20:03:06

I assume it’s a conflict between the new nREPL and piggieback or something similar.

cfleming20:03:47

The var that’s required but missing is in the new nREPL namespace though, strangely.

cfleming23:03:27

Actually, I suspect that this might be a lein version incompatibility, and the nREPL upgrade is a red herring. I’m waiting for feedback to confirm that.