This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-29
Channels
- # announcements (3)
- # babashka (47)
- # beginners (88)
- # calva (17)
- # clj-kondo (8)
- # cljdoc (1)
- # clojars (9)
- # clojure (98)
- # clojure-europe (53)
- # clojure-norway (2)
- # clojure-seattle (1)
- # clojure-uk (5)
- # clojurescript (20)
- # cursive (11)
- # data-oriented-programming (1)
- # data-science (3)
- # datahike (1)
- # datascript (3)
- # events (3)
- # graalvm (5)
- # honeysql (7)
- # hyperfiddle (1)
- # jobs-discuss (10)
- # leiningen (3)
- # malli (16)
- # music (4)
- # nbb (17)
- # off-topic (45)
- # pathom (9)
- # portal (7)
- # releases (1)
- # shadow-cljs (80)
- # sql (15)
- # tools-build (5)
- # xtdb (23)
What does #error {:message "Could not resolve symbol: schema", :data {:type :sci/error, :line nil, :column nil, :file nil, :phase "analysis"}}
mean? Context: I've forked plumatic schema, patched some files, started nbb in the src/cljc directory then run (require [schema.core :as s :include-macros true])
(require '[schema.core :as s :include-macros true])
produces #error {:message \"Could not resolve symbol: demunge\", :data {:type :sci/error, :line nil, :column nil, :file \"C:\\\\Users\\\\Robin\\\\IdeaProjects\\\\ss\\\\schema\\\\src\\\\cljc\\\\schema\\\\utils.cljc\", :phase \"analysis\"}}
which is just as puzzling
But note that demunge
is only available in CLJS in cljs.core, not in clojure.core on the JVM
got it. I'm going to try another reader conditional in schema before attempting an nbb PR 🙂
you need to add it in this namesapce: https://github.com/babashka/sci/blob/3e068bbd9cfdf8e39107721658a3717db092c2e0/src/sci/impl/namespaces.cljc#L1289
it might be good to locally compile nbb + a local checkout of SCI so you can change things faster
0.7.131 released with :deps
support in nbb.edn
! Thanks @lilactown
https://github.com/babashka/nbb/blob/main/CHANGELOG.md#07131