This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-22
Channels
- # announcements (88)
- # autochrome-github (2)
- # babashka (26)
- # beginners (5)
- # biff (2)
- # cider (73)
- # clj-kondo (4)
- # cljsrn (6)
- # clojure (54)
- # clojure-art (3)
- # clojure-europe (73)
- # clojure-germany (5)
- # clojure-new-zealand (1)
- # clojure-nl (13)
- # clojure-norway (16)
- # clojure-uk (8)
- # clojurescript (73)
- # conjure (1)
- # core-async (10)
- # cursive (17)
- # datahike (51)
- # datalevin (21)
- # datomic (4)
- # emacs (2)
- # events (3)
- # fulcro (35)
- # honeysql (6)
- # introduce-yourself (1)
- # jackdaw (3)
- # jobs (1)
- # leiningen (4)
- # lsp (3)
- # malli (17)
- # off-topic (60)
- # other-languages (5)
- # pathom (17)
- # pedestal (3)
- # polylith (19)
- # portal (2)
- # practicalli (1)
- # rdf (14)
- # reitit (3)
- # releases (1)
- # reveal (9)
- # sci (1)
- # shadow-cljs (26)
- # spacemacs (17)
- # sql (4)
- # testing (10)
- # tools-build (6)
- # tools-deps (16)
- # vim (9)
@roklenarcic they are old and deprecated. https://shadow-cljs.github.io/docs/UsersGuide.html#dev-http should be used instead.
I seem to have trouble loading shadow-cljs 2.17.x - it complains at load time and points to potential dependency clashes, but I can't see anything out of the ordinary.
they changed how they bundle stuff so the closure compiler doesn't declare the guava dependency correctly anymore or something
I generally strongly recommend keeping your CLJS and CLJ dependencies separate for this reason
there is an open issue about this https://github.com/google/closure-compiler/issues/3896
In the sense that some of our cljs macros depend on our Clojure code. So naturally we had everything under one JVM. Would you suggest to use two different JVMs for this? Then I guess we could at least minimize the blast radius.
Hm I will use https://github.com/google/closure-compiler#guava-libraries as a reference version and report back.
Pinning 31.0.1 at the top level works. I was using 30.0 brought by some dependency. Annoying.
We have an app that uses lazy module-loading, deployed to users for the very first time this past Friday w/ shadow-cljs 2.17.2
(thanks thheller for the help and documentation!). Deploy went well and without issue!
Today we deployed a new version of the app, which included an upgrade to shadow-cljs 2.17.4
. Otherwise we made no changes to the build/compilation process. After the deploy, some users experienced the app crashing; in most scenarios, refreshing the app in-browser fixed things. In looking through our logs, it seemed like some of bundled modules were unable to be loaded. Multiple errors with
Error loading <module>: Consecutive load failures
Looking at the recent commits on https://github.com/thheller/shadow-cljs/commits/master, it seems there were some changes to the Google Module loader. Would those changes have potentially caused breakage for modules built on 2.17.2
vs. modules built on 2.17.4
?
Also Clojars has 2.17.4
, but that version isn't reflected anywhere in the Github repo. Curious to know what's the best way to compare 2 versions via Github to check the diff of commits. Thanks!