This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-08
Channels
- # announcements (2)
- # babashka (100)
- # beginners (25)
- # biff (7)
- # calva (13)
- # cider (24)
- # clj-kondo (39)
- # cljsrn (2)
- # clojure (22)
- # clojure-dev (13)
- # clojure-europe (12)
- # clojure-gamedev (3)
- # clojure-losangeles (2)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojure-spec (11)
- # clojure-uk (2)
- # clojurescript (20)
- # core-async (8)
- # cursive (7)
- # data-science (2)
- # datomic (14)
- # emacs (6)
- # events (7)
- # fulcro (9)
- # honeysql (1)
- # kaocha (24)
- # lambdaisland (3)
- # leiningen (6)
- # lsp (30)
- # membrane (7)
- # missionary (10)
- # nbb (48)
- # nextjournal (13)
- # off-topic (6)
- # parinfer (4)
- # pathom (1)
- # polylith (1)
- # reagent (7)
- # rewrite-clj (6)
- # ring (11)
- # sci (7)
- # shadow-cljs (8)
- # sql (13)
@borkdude I'm seeing something a bit confusing - sometimes, but not always, when I go to compile my cljs code, which makes use of sci.core/copy-ns
, I will get an error like this:
Encountered error when macroexpanding sci.core/copy-ns.
IllegalStateException: Attempting to call unbound fn: #'sci.impl.cljs/cljs-ns-publics
There is of course a related stack trace, but I'm not sure how helpful it would be. Does this make any sense to you at all? I don't understand why this is "suddenly" not working. I saw this the other day and upgraded to 0.3.32
, thinking that fixed it, but evidently I was incorrect.@pmooser I've seen this too and it will go away when you clear your .shadow-cljs
directory (assuming you use shadow-cljs)
Ahhh ... @borkdude I am indeed using shadow-cljs - is it safe for me to just blow away that whole directory, as far as you know?
Yeah, it is safe. I'm not sure what is a better solution, but in sci.core, the cljs analyzer api loaded when you're using it from CLJS but not when using it from JVM Clojure without ClojureScript (as SCI should not depend on ClojureScript). So it's a little bit tricky. Maybe I should move copy-ns
for CLJS to sci.cljs
or so