Fork me on GitHub
#cider
<
2023-05-10
>
pauld13:05:39

Hi folks, I've posted this on #CFN4QDHPS and #C09C8GRLY but it seems to be particular to emacs because I can run the repl in the git bash shell but not jack in from emacs cider. I get:

[nREPL] Starting server via "c:/Users/Paul Dumais/scoop/shims/clojure.exe" -Sdeps '{:deps {nrepl/nrepl {:mvn/version "1.0.0"} cider/cider-nrepl {:mvn/version "0.30.0"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}}}' -M:cider/nrepl
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Error building classpath. Don't know how to create ISeq from: clojure.lang.Symbol

pauld13:05:38

It was working fine 2 days ago, but something about rebooting seems to have broken things. I tried rolling back changes to my spacemacs repo and elpa packages but this did not help.

vemv13:05:37

Does this command succeed in your terminal?

"c:/Users/Paul Dumais/scoop/shims/clojure.exe" -Sdeps '{:deps {nrepl/nrepl {:mvn/version "1.0.0"} cider/cider-nrepl {:mvn/version "0.30.0"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}}}' -M:cider/nrepl
Maybe there's a small typo in there? Or in deps.edn

pauld13:05:29

The command works in my terminal.

pauld13:05:56

I have tried several other projects with simple deps.edn files.

pauld13:05:42

At least it's not a show stopper. Using cider-connect is usually better anyway.

vemv14:05:01

oh, sorry for reading too quickly. Given that the command works, maybe it's an issue related to delimited quoting. clojure and Windows can both act funny

vemv14:05:00

if you're able to obtain a full stracktrace (for example, precede your invocation with M-x toggle-debug-on-error , probably we'd appreciate a GH issue.

pauld14:05:37

Ok I'll put that in an issue.

pauld14:05:30

I get this in *Backtrace*:

pauld14:05:33

Debugger entered--Lisp error: (error "Could not start nREPL server: Error building class...")
  error("Could not start nREPL server: %s (%S)" "Error building classpath. Don't know how to create..." "exited abnormally with code 1")
  nrepl-server-sentinel(#<process nrepl-server> "exited abnormally with code 1\n")

vemv14:05:11

yeah that would not be enough of a lead 😞 perhaps you'd have better luck in the nrepl log buffer

pauld14:05:31

I made an issue and included the trace in my *Messages* buffer.

pauld14:05:23

It's mostly the same as what's in the nrepl-server buffer.