nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
Ale 2021-05-08T15:17:14.018400Z

Hello, I'm having some issues with cider starting a krell nrepl. I can run the app correcly, and can open a working cljs repl issuing

clj -M -m krell.main -co build.edn -r
at the command line. However, when I try to start the repl from cider or calva, I get this error
ReferenceError: Can't find variable: cljs
full stack trace here: https://gist.github.com/laynor/4944b74a36691b8c3be7bb852818fe87 The full project repo is here https://github.com/laynor/krelltest I previously asked for help in #beginners , and the project appears to work at least on @pez machine, who helped me a lot to troubleshoot this issue. As a result of this issue, the cider repl is stuck at the user => prompt (clojure/java repl if I understand correctly) and never reaches the cljs.user => repl. Strangest thing, when I was troubleshooting this issue, I made a copy of the project in another directory. By mistake, while the app was running on the simulator from the second copy of the project, I jacked in with cider from the first copy, and I got a half working cljs.user => repl (I could execute code in the running application, but cljs.pprint.pprint was undefined so I was getting errors in the cider repl). Here are my system details: Os: Arch linux Emacs: recent version compiled from sources (master). native comp enabled Cider version: "CIDER 1.1.0 (package: 20210422.802) (Plovdiv)" clojure --version: Clojure CLI version 1.10.3.822 java version:
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Node version 14.3.0 Any clue?

pez 2021-05-08T15:28:21.021Z

I tried it with java8 (Adopt) and java15 (Amazon), and Clojure CLI 1.10.3.822. Also @laynor tried it with both CIDER and Calva with the same boring results.