cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
Michel A. 2021-04-09T10:22:30.029400Z

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 "<https://github.com/vouch-opensource/krell>"
                        :sha "d0e115309580ca0bdc782e4ca396df66a357d212"}
        io.vouch/reagent-react-native {:git/url "<https://github.com/vouch-opensource/reagent-react-native.git>"
                                       :sha "0fe1c600c9b81180f76b94ef6004c2f85e7d4aa0"}
        reagent/reagent {:mvn/version "0.10.0"
                         :exclusions [cljsjs/react cljsjs/react-dom]}

        com.cognitect/transit-cljs {:mvn/version "0.8.264"}}}

joshmiller 2021-04-09T16:01:40.029700Z

@michel_apostolou Maybe try specifying latest CLJS in your deps?

Michel A. 2021-04-09T17:02:29.029800Z

hi @joshmiller, 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), &lt;anonymous&gt;:12:8) at Object.goog.loadModule (eval at bootstrap (main.js:23), &lt;anonymous&gt;:1089:27) at eval (eval at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219), &lt;anonymous&gt;:1:20) at eval (&lt;anonymous&gt;) at global.CLOSURE_IMPORT_SCRIPT (krell_repl.js:219) at goog.Dependency.load (eval at bootstrap (main.js:23), &lt;anonymous&gt;:3021:23) at eval (eval at bootstrap (main.js:23), &lt;anonymous&gt;:2658:15) at goog.DebugLoader_.loadDeps_ (eval at bootstrap (main.js:23), &lt;anonymous&gt;:2662:9) at goog.DebugLoader_.load_ (eval at bootstrap (main.js:23), &lt;anonymous&gt;:2557:14) at Object.goog.require (eval at bootstrap (main.js:23), &lt;anonymous&gt;:846:27)