This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-31
Channels
- # architecture (1)
- # babashka (17)
- # calva (18)
- # cider (5)
- # clj-kondo (5)
- # cljdoc (44)
- # cljs-dev (2)
- # clojure (49)
- # clojure-europe (11)
- # clojure-norway (16)
- # clojure-uk (3)
- # clojurescript (89)
- # clr (8)
- # conjure (7)
- # cursive (26)
- # data-science (2)
- # datomic (15)
- # emacs (11)
- # events (1)
- # fulcro (8)
- # gratitude (3)
- # hyperfiddle (68)
- # introduce-yourself (1)
- # london-clojurians (1)
- # lsp (3)
- # nbb (8)
- # pathom (44)
- # pedestal (14)
- # polylith (2)
- # random (1)
- # shadow-cljs (8)
- # spacemacs (13)
- # squint (36)
- # tools-deps (9)
- # xtdb (17)
Hey hey — I just tried using missionary
in nbb
and ran into the following error: "Unable to resolve classname: missionary.impl.Reduce"
Welcome to nbb v1.2.175!
user=> (require '[missionary.core :as m])
"#error {:message \"Unable to resolve classname: missionary.impl.Reduce\", :data {:type :sci/error, :line 4, :column 3, :message \"Unable to resolve classname: missionary.impl.Reduce\", :sci.impl/callstack #object[cljs.core.Volatile {:val ({:line 4, :column 3, :file \"/Users/martinklepsch/code/github.com/gatheround/gatheround/scripts/db-poke-perf-testing/.nbb/.cache/00141330b1bdad31190c7a9ff93264fbcf4540d4/nbb-deps/missionary/core.cljc\", :ns #object[Ur missionary.core]})}], :file \"/Users/martinklepsch/code/github.com/gatheround/gatheround/scripts/db-poke-perf-testing/.nbb/.cache/00141330b1bdad31190c7a9ff93264fbcf4540d4/nbb-deps/missionary/core.cljc\"}, :cause #object[Error Error: Unable to resolve classname: missionary.impl.Reduce]}"
(it appears that the library was added to the classpath as expected, since this error occurred loading missionary/core.cljs
)
I guess missionary isn't compatible with SCI (or vice versa)
I don't understand how core.cljs does not load, but just imports the other impl .cljs file in missionary
You can work around this probably by requiring that impl namespace yourself before loading core
ok cool, I'll poke around a bit but almost assumed it's not going to work but wanted to check/share 🙂
👍 2