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?
You could try reloading (either cmd/ctrl-R in a simulator or shake and tap reload on a device).
I did try that and rebuilding unfortunately
even tried wiping the device
Have you tried on a simulator at all?
just Android emulator. I intentionally removed my ios stuff
On a real device you might have a network issue, just checking on that.
Does your Krell repl say that it’s waiting for a connection?
nope it goes to a prompt when the app loads
What’s the prompt? (i.e., user or cljs.user?)
Does it ever say e.g. “Waiting for connections on port 5001”?
❯ 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=>
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')]
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
even better news, cljs-http is working! thanks for the nudge into krell @joshmiller
Awesome!
Don’t feel too dumb, there are still lots of places where it’s hard to get good insight into what’s going on.
I screw up similarly constantly still.
thanks 😉
Whatever issue you had couldn’t have been shadow specific