Hi When i jacking using leiningen + shadowcljs in my shadow-cljs when i try something like, got error
(js/Math.random)
; 2025-11-11T15:18:42.945Z siavash-systemproductname ERROR [re-frame.loggers:222] - re-frame: no :event handler registered for: :send-request
; Syntax error compiling at (.calva/output-window/output.calva-repl:1169:34).
; No such namespace: jsFailed starting cljs repl for build: :dev looks like the root cause. What do you see in the Jack-in terminal?
Iโm not a Leiningen user, so havenโt a ton of experience trouble shooting. But I just tested with a project I have that it still works there. (Not mean as a WorksOnMyMachine, just noting that there is hope we can figure it out without fixing something in Calva.)
That sounds like your REPL is connected to the Clojure side, not the ClojureScript side?
yep, i don't have this issue in Emacs but have in vs-code
I don't do any cljs work but I think you can toggle the dialect mode in the status bar of VS Code?
Check the Calva docs for tips on working with ClojureScript perhaps?
ok thank you @seancorfield
This should just work.
๐ yep but unfortunately is not working
Another issue @pez it gives me this error, when is select :dev to be connected to!
; Cljs builds started
; Failed starting cljs repl for build: :dev. Is the build running and connected?
; See the Output channel "Calva Connection Log" for any hints on what went wrong.
; Creating cljs repl session...
; Connecting cljs repl: Leiningen...
; Cljs builds started
; Failed starting cljs repl for build: :dev. Is the build running and connected?
; See the Output channel "Calva Connection Log" for any hints on what went wrong.
my build also exists in the 9630