This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-04
Channels
- # announcements (1)
- # architecture (7)
- # beginners (44)
- # biff (11)
- # calva (15)
- # cider (5)
- # clerk (9)
- # clj-kondo (20)
- # clj-on-windows (19)
- # clj-yaml (2)
- # cljs-dev (39)
- # clojure (52)
- # clojure-czech (2)
- # clojure-dev (11)
- # clojure-europe (28)
- # clojure-hamburg (10)
- # clojure-hungary (3)
- # clojure-nl (1)
- # clojure-norway (59)
- # clojure-uk (5)
- # clojured (2)
- # clojurescript (33)
- # conjure (2)
- # datahike (1)
- # datomic (5)
- # defnpodcast (5)
- # emacs (18)
- # figwheel (2)
- # funcool (6)
- # graphql (1)
- # hyperfiddle (11)
- # jobs (3)
- # joyride (13)
- # malli (6)
- # music (4)
- # off-topic (45)
- # polylith (11)
- # practicalli (3)
- # rdf (3)
- # releases (1)
- # scittle (8)
- # shadow-cljs (13)
- # specter (2)
- # squint (8)
- # testing (6)
- # tools-deps (21)
- # xtdb (2)
I just wanted to try something out with joyride but couldn’t get it running. I newly installed the extension and wanted to start a REPL through Start a Joyride REPL and Connect
. It opened the REPL output window with some stuff and among it:
; Failed connecting.
; Jack-in done.
In the dev-tools I saw:
Failed connecting: #error {:message "Could not resolve symbol: clojure.main/repl-requires", :data {:type :sci/error, :line 1, :column 1, :message "Could not resolve symbol: clojure.main/repl-requires", :sci.impl/callstack #object[cljs.core.Volatile {:val ({:line 1, :column 1, :ns #object[XV user-activate], :file nil} {:line 1, :column 1, :ns #object[XV user-activate], :file nil, :sci.impl/f-meta {:name apply, :arglists ([f args] [f x args] [f x y args] [f x y z args] [f a b c d & args]), :doc "Applies fn f to the argument list formed by prepending intervening arguments to args.", :sci/built-in true, :ns #object[XV clojure.core]}})}], :file nil, :phase "analysis"}, :cause #error {:message "Could not resolve symbol: clojure.main/repl-requires", :data {:type :sci/error, :line nil, :column nil, :file nil, :phase "analysis"}}}
The nrepl seems to be running after that but the REPL never connected.
Is there some specific step I missed to get it running?It might be a recently introduced bug in Calva. Try disabling the Auto-refer REPL utilities in settings and see if that helps.
We probably should add those requires in Joyride too. But Calva shouldn’t crash like that when they’re missing.
@U0ETXRFEW Thanks, that worked (after a vscode restart) 🙂 I don’t really know what that auto-refer is doing but I’m happy when things work 😄
Ah did it try to resolve the repl helpers on connect but couldn’t because they were not required yet?
It’s Calva trying to deliver on the promise from clojure.main/repl-requires
:
>
A sequence of lib specs that are applied to `require`
> by default when a new command-line REPL is started.