This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-09
Channels
- # announcements (26)
- # asami (1)
- # babashka (7)
- # beginners (51)
- # calva (1)
- # cider (18)
- # clj-kondo (6)
- # clj-together (1)
- # cljsrn (4)
- # clojure (78)
- # clojure-australia (3)
- # clojure-europe (25)
- # clojure-losangeles (1)
- # clojure-nl (2)
- # clojure-serbia (4)
- # clojure-spec (23)
- # clojure-uk (19)
- # clojurescript (23)
- # community-development (13)
- # deps-new (1)
- # emacs (24)
- # figwheel-main (5)
- # fulcro (61)
- # graalvm (1)
- # honeysql (11)
- # jobs (1)
- # lsp (7)
- # malli (4)
- # meander (6)
- # membrane (3)
- # off-topic (10)
- # polylith (13)
- # quil (7)
- # re-frame (54)
- # reagent (18)
- # remote-jobs (2)
- # shadow-cljs (81)
- # sql (16)
- # tools-deps (12)
- # xtdb (10)
Hello, when running the code below in krell repl in an “empty” project (only the react-native basic project installed) I run into an exception :
(require '[cognitect.transit :as transit])
(transit/uuid "b1a5b1c1-6319-4855-8b6a-99139f87ad20")
Exception :
TypeError: Cannot read property 'assert' of null
at Function.Long.fromInt (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:291:11)
at Object.types.hexFor (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:259:50)
at Transit$UUID.types.UUID.toString (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:292:20)
at Object.eval [as cljs$core$IEquiv$_equiv$arity$2] (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:16:34)
at cljs$core$_equiv (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:2671:10)
at Transit$UUID.eval [as cljs$core$IEquiv$_equiv$arity$2] (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:56:25)
at Object.cljs$core$_equiv [as _equiv] (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:2671:10)
at Function.eval [as cljs$core$IFn$_invoke$arity$2] (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:4973:35)
at cljs$core$_EQ_ (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:4940:23)
at eval (eval at handleMessage (krell_repl.js:285), <anonymous>:20:16)
Any ideas ?
thx
My deps :
{:deps {io.vouch/krell {:git/url ""
:sha "d0e115309580ca0bdc782e4ca396df66a357d212"}
io.vouch/reagent-react-native {:git/url ""
:sha "0fe1c600c9b81180f76b94ef6004c2f85e7d4aa0"}
reagent/reagent {:mvn/version "0.10.0"
:exclusions [cljsjs/react cljsjs/react-dom]}
com.cognitect/transit-cljs {:mvn/version "0.8.264"}}}
@michel_apostolou Maybe try specifying latest CLJS in your deps?
hi @U0E1JV8GK,
thanks for taking the time to reply.
When adding org.clojure/clojurescript {:mvn/version "1.10.844"}
, I have other dependency loading errors :
Could not load target/goog/html/safescript.js from cache: TypeError: Cannot destructure property 'fail' of 'goog.require(...)' as it is null.
at eval (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:12:8)
at Object.goog.loadModule (eval at bootstrap (main.js:23), <anonymous>:1089:27)
at eval (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), <anonymous>:1:20)
at eval (<anonymous>)
at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219)
at goog.Dependency.load (eval at bootstrap (main.js:23), <anonymous>:3021:23)
at eval (eval at bootstrap (main.js:23), <anonymous>:2658:15)
at goog.DebugLoader_.loadDeps_ (eval at bootstrap (main.js:23), <anonymous>:2662:9)
at goog.DebugLoader_.load_ (eval at bootstrap (main.js:23), <anonymous>:2557:14)
at Object.goog.require (eval at bootstrap (main.js:23), <anonymous>:846:27)
I’m saying “other” because, from my understanding my original error comes from https://github.com/google/closure-library/blob/7d07947d3f1e8a9a10626d9b57a10f793c2f96a7/closure/goog/math/long.js#L550 that returns null
due to https://github.com/google/closure-library/blob/7d07947d3f1e8a9a10626d9b57a10f793c2f96a7/closure/goog/math/long.js#L16 failing