This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-09
Channels
- # babashka (176)
- # beginners (26)
- # cider (1)
- # cljsrn (3)
- # clojure (60)
- # clojure-australia (3)
- # clojure-europe (8)
- # clojure-uk (3)
- # clojurescript (1)
- # code-reviews (4)
- # community-development (3)
- # cursive (6)
- # depstar (1)
- # emacs (11)
- # figwheel (3)
- # helix (13)
- # integrant (2)
- # jackdaw (1)
- # kaocha (1)
- # leiningen (3)
- # luminus (2)
- # malli (4)
- # music (1)
- # nrepl (2)
- # off-topic (1)
- # practicalli (3)
- # reitit (3)
- # shadow-cljs (16)
- # slack-help (14)
- # sql (13)
- # vim (12)
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 #nrepl, 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?