This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-21
Channels
- # calva (11)
- # cider (4)
- # clojure (15)
- # clojure-europe (20)
- # clojurescript (14)
- # clr (45)
- # conjure (2)
- # cursive (1)
- # fulcro (10)
- # helix (4)
- # honeysql (7)
- # hoplon (21)
- # humbleui (2)
- # hyperfiddle (23)
- # introduce-yourself (1)
- # malli (11)
- # matrix (3)
- # off-topic (6)
- # pathom (2)
- # practicalli (1)
- # re-frame (9)
- # releases (1)
- # specter (2)
- # sql (10)
- # xtdb (2)
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.362
• Bump bundled deps.clj to v1.11.1.1273-4
• Fix regression: https://github.com/BetterThanTomorrow/calva/issues/2200
Thanks @furkan3ayraktar for reporting! 🙏 ❤️
I'm working on a React Native app with Krell and with this release the cljs REPL can't connect to the app... :(
clj꞉user꞉>
; Creating cljs repl session...
; Connecting cljs repl: deps.edn + Krell...
; The Calva Connection Log might have more connection progress information.
; Error while connecting cljs REPL: TypeError: Cannot read properties of null (reading 'startsWith')
; Jack-in done.
I downgraded to the previous release of Calva and it works.Thanks for this report! Which versions, specifically, are you switching between? It seems rather unlikely that the change between 361 and 362 should have this effect. Not impossible, I guess, but the change should only affect shadow-cljs connections…
Looking at https://github.com/BetterThanTomorrow/calva/commit/a45388fda55bc47ca800d1ecc220e689eeb726b0#diff-93f9f09a29cd12cc70ff95aca80720b00ef8acd54370b9e0e18c8752b45a8196 I think that if this is false...
menuSelections && menuSelections.cljsDefaultBuild && useDefaultBuild
and this is false too...
typeof initCode === 'object' || initCode.includes('%BUILD%')
then in the added line...
build = build.startsWith(':') ? build : `:${build}`;
build will be null and then there would be the error i saw...
TypeError: Cannot read properties of null (reading 'startsWith')
?Sorry I don't have time now. I really appreciate a lot all the time you put into this. Thank you
Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.363
• Fix: https://github.com/BetterThanTomorrow/calva/issues/2202
I forgot a null check in the previous release… Thanks @xavi for the report and help! 🙏 ❤️