Fork me on GitHub

I have problem with krell too 🙂


I follow the tutorial but when write

clj -m cljs.main --install-deps
on windows I get this error
Exception in thread "main" .FileNotFoundException: Could not locate ____init.class or __.clj on classpath:
        at clojure.lang.RT.load(
        at clojure.lang.RT.load(
        at clojure.core$load$fn__5066.invoke(core.clj:5641)
        at clojure.core$load.doInvoke(core.clj:5640)
        at clojure.core$load_one.invoke(core.clj:5446)
        at clojure.core$load_lib$fn__5015.invoke(core.clj:5486)
        at clojure.core$load_lib.doInvoke(core.clj:5485)
        at clojure.lang.RestFn.applyTo(
        at clojure.core$apply.invoke(core.clj:626)
        at clojure.core$load_libs.doInvoke(core.clj:5524)
        at clojure.lang.RestFn.applyTo(
        at clojure.core$apply.invoke(core.clj:626)
        at clojure.core$require.doInvoke(core.clj:5607)
        at clojure.lang.RestFn.invoke(
        at clojure.main$main_opt.invoke(main.clj:315)
        at clojure.main$main.doInvoke(main.clj:420)
        at clojure.lang.RestFn.invoke(
        at clojure.lang.Var.invoke(
        at clojure.lang.AFn.applyToHelper(
        at clojure.lang.Var.applyTo(
        at clojure.main.main(


I don't have a windows machine handy to help you with this particular problem - but this sin't a Krell issue anyway - ClojureScript


Thank you, I'll try to find out.

Oliver George12:05:22

I'm trying to port a re-natal app to Krell. I can't work out how to ensure that I see the UI update when I updated a view and the namespace reloads. Using the approach from the Krell Reagent tutorial I'm not getting a UI refresh unless I modify the awesome-project.core ns.

Oliver George12:05:57

I've tried a few variants on porting the re-natal onreload approach of counter r/atom plus clearing re-frame's subscription cache. No joy. Also tried calling force-reload! manually since the -main isn't a great location for the call.

(def cnt (r/atom 0))
(defn reloader [] @cnt [navigation-screen/container])

(defn force-reload! []
  (swap! cnt inc))

(defn ^:export -main [& args]
  (re-frame/dispatch-sync [:app/bootstrap])
  (r/as-element [reloader]))

Oliver George12:05:37

But if I modify that file the krell reload process does give the result i'm looking for. Just not sure how.

Oliver George12:05:06

Related... currently the Krell REPL doesn't signal to the app whether -main is being called to start the app or as part of a reload. That distinction would be handy to avoid "bootstrapping" happening multiple times. It's fixable with additional app state but by rights is dev only concern.

Oliver George13:05:37

Okay, a simple repro isn't immediately backing me up. It might be something more complicated than I thought. I’ll try again tomorrow

👍 4