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
dnolen 2021-04-28T15:55:33.085200Z

Krell now has support to develop against multiple instances of an app - https://github.com/vouch-opensource/krell#multiple-app-instance-development

💥 1
👏 4
1
1
dnolen 2021-04-28T15:55:44.085600Z

i.e. you can run the app N times and run N REPLs

dnolen 2021-04-28T15:56:17.086300Z

the primary use case is testing apps that requires multiple parties - i.e. chat/messaging etc.

dnolen 2021-04-28T15:56:58.086700Z

it's actually not a case that React Native supports well

dnolen 2021-04-28T15:57:03.086900Z

because Metro reloads everyone

dnolen 2021-04-28T15:57:18.087300Z

and XCode disconnects from the previous build when you rebuild

dnolen 2021-04-28T15:57:54.088Z

but this works around these limitations to offer a model that I believe works reasonably well

dnolen 2021-04-28T16:03:53.088500Z

i.e. a primary REPL that is the reloader, and a secondary REPL that does not reload

2021-04-28T16:39:47.090Z

Brillant! Very nice @dnolen! Thx 👍

2021-04-28T16:40:50.090700Z

I get this error when I try to start clojure with the latest version of krell

Error building classpath. 
java.lang.NullPointerException
	at clojure.tools.deps.alpha.util.dir$canonicalize.invokeStatic(dir.clj:30)
	at clojure.tools.deps.alpha.util.dir$canonicalize.invoke(dir.clj:25)
	at clojure.tools.deps.alpha.extensions.deps$eval1390$fn__1392.invoke(deps.clj:27)
	at clojure.lang.MultiFn.invoke(MultiFn.java:244)
	at clojure.tools.deps.alpha$expand_deps$children_task__790$fn__792$fn__793.invoke(alpha.clj:403)
	at clojure.tools.deps.alpha.util.concurrent$submit_task$task__505.invoke(concurrent.clj:34)
	at clojure.lang.AFn.call(AFn.java:18)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

2021-04-28T16:42:56.091600Z

I have tripple checked the sha and if I just remove the krell dependency, it boots just fine. Any ideas @dnolen?

2021-04-28T16:45:15.092200Z

it actually happens on every version now, I must have messed up my environment some how

dnolen 2021-04-28T17:08:31.092500Z

@hkjels delete .cpcache

dnolen 2021-04-28T17:08:33.092700Z

try again

dnolen 2021-04-28T17:08:39.092900Z

if that doesn't work

dnolen 2021-04-28T17:08:44.093100Z

delete ~/.gitlibs

dnolen 2021-04-28T17:09:43.093400Z

tools-deps problem unrelated to Krell

2021-04-28T18:07:18.094Z

Deleting ~/.gitlibs did the trick. Thanks!