This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-08
Channels
- # announcements (1)
- # asami (3)
- # babashka (51)
- # beginners (86)
- # chlorine-clover (1)
- # cider (18)
- # clara (5)
- # clj-kondo (6)
- # cljsrn (6)
- # clojure (2)
- # clojure-europe (18)
- # clojure-uk (1)
- # clojurescript (57)
- # clojureverse-ops (2)
- # code-reviews (9)
- # cryogen (11)
- # depstar (5)
- # jackdaw (2)
- # malli (8)
- # nrepl (2)
- # off-topic (66)
- # practicalli (3)
- # reitit (6)
- # shadow-cljs (83)
- # sql (4)
- # vim (24)
- # xtdb (4)
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?