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
benny 2020-07-03T00:58:46.449600Z

trying out krell but when the app loads it just says “waiting for krell to load files” — can’t find anything out there about it, common noob problem?

joshmiller 2020-07-03T01:16:35.450700Z

You could try reloading (either cmd/ctrl-R in a simulator or shake and tap reload on a device).

benny 2020-07-03T01:18:28.451300Z

I did try that and rebuilding unfortunately

benny 2020-07-03T01:18:43.451900Z

even tried wiping the device

joshmiller 2020-07-03T01:19:03.452400Z

Have you tried on a simulator at all?

benny 2020-07-03T01:19:41.453700Z

just Android emulator. I intentionally removed my ios stuff

joshmiller 2020-07-03T01:20:19.454200Z

On a real device you might have a network issue, just checking on that.

joshmiller 2020-07-03T01:20:36.454600Z

Does your Krell repl say that it’s waiting for a connection?

benny 2020-07-03T01:20:58.455200Z

nope it goes to a prompt when the app loads

joshmiller 2020-07-03T01:21:49.455700Z

What’s the prompt? (i.e., user or cljs.user?)

joshmiller 2020-07-03T01:22:06.456100Z

Does it ever say e.g. “Waiting for connections on port 5001”?

benny 2020-07-03T01:29:02.456500Z

❯ clj -m krell.main -co build.edn -c -r                                                                 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.

Waiting for device connection on port 5001
ClojureScript 0.0.34032155
cljs.user=&gt; 

benny 2020-07-03T01:58:08.457Z

looks like i am getting this sometimes in metro

[Thu Jul 02 2020 20:57:07.745]  LOG      Bootstrap from cache failed: [TypeError: undefined is not an object (evaluating 'KRELL_CACHE.get(toPath("goog/deps.js")).source')]

benny 2020-07-03T02:08:18.457800Z

welp, i feel like an idiot, it’s because i was coming from a shadow project and was still using init in my core class referenced instead of main

benny 2020-07-03T02:20:55.458400Z

even better news, cljs-http is working! thanks for the nudge into krell @joshmiller

joshmiller 2020-07-03T02:21:26.458600Z

Awesome!

joshmiller 2020-07-03T02:22:13.459900Z

Don’t feel too dumb, there are still lots of places where it’s hard to get good insight into what’s going on.

joshmiller 2020-07-03T02:22:31.460400Z

I screw up similarly constantly still.

benny 2020-07-03T02:22:49.460600Z

thanks 😉

dotemacs 2020-07-03T10:21:17.461400Z

Whatever issue you had couldn’t have been shadow specific