-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Following the wiki to install krell in an existing AwesomeProject, when execute the following command in CLI,
got an error.
MacBookPro:AwesomeProject $ clj -M -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 1.10.844
cljs.user=> clojure.lang.ExceptionInfo: Unexpected error during REPL initialization #:cljs.repl{:error :init-failed}
at cljs.repl$repl_STAR_.invokeStatic(repl.cljc:1220)
at cljs.repl$repl_STAR_.invoke(repl.cljc:1033)
at cljs.cli$repl_opt.invokeStatic(cli.clj:325)
at cljs.cli$repl_opt.invoke(cli.clj:312)
at cljs.cli$default_compile.invokeStatic(cli.clj:534)
at cljs.cli$default_compile.invoke(cli.clj:486)
at krell.repl$krell_compile.invokeStatic(repl.clj:236)
at krell.repl$krell_compile.invoke(repl.clj:226)
at cljs.cli$compile_opt.invokeStatic(cli.clj:542)
at cljs.cli$compile_opt.invoke(cli.clj:540)
at cljs.cli$main.invokeStatic(cli.clj:703)
at cljs.cli$main.doInvoke(cli.clj:692)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:669)
at clojure.core$apply.invoke(core.clj:662)
at cljs.main$_main.invokeStatic(main.clj:65)
at cljs.main$_main.doInvoke(main.clj:56)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$apply.invoke(core.clj:662)
at krell.main$_main.invokeStatic(main.clj:9)
at krell.main$main.doInvoke(main.clj:7)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.main$main_opt.invokeStatic(main.clj:514)
at clojure.main$main_opt.invoke(main.clj:510)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
Caused by: clojure.lang.ExceptionInfo: ReferenceError: Can't find variable: cljs {:type :js-eval-exception, :error {:status :exception, :value "ReferenceError: Can't find variable: cljs"}, :repl-env #krell.repl.KrellEnv{:options {:port 5001, :watch-dirs ["src"], :connect-timeout 30000, :eval-timeout 30000, :recompile :direct, :output-dir "target", :main AwesomeProject.core}, :file-index {#object[java.io.File 0x309ac89e "/Users/Shared/Relocated_Items/Security/eUSB/sync/reactNative/projects/AwesomeProject/src"] 1627962714805, #object[java.io.File 0x2db0dd19 "/Users/Shared/Relocated_Items/Security/eUSB/sync/reactNative/projects/AwesomeProject/src/AwesomeProject"] 1627968826799, #object[java.io.File 0x354ff4f6 "/Users/Shared/Relocated_Items/Security/eUSB/sync/reactNative/projects/AwesomeProject/src/AwesomeProject/core.cljs"] 1627968826748}, :socket #object[clojure.lang.Atom 0x36b2b6e6 {:status :ready, :val {:socket #object[java.net.Socket 0x5a9004e1 "Socket[addr=/172.30.206.244,port=49559,localport=5001]"], :in #object[java.io.BufferedReader 0x17af9f67 "java.io.BufferedReader@17af9f67"], :out #object[java.io.BufferedWriter 0x6b6d8671 "java.io.BufferedWriter@6b6d8671"]}}], :state #object[clojure.lang.Atom 0x484b187c {:status :ready, :val {:watcher #object[io.methvin.watcher.DirectoryWatcher 0x1226ba98 "io.methvin.watcher.DirectoryWatcher@1226ba98"], :done true}}]}, :form (set! cljs.core/print-namespace-maps true), :js "(cljs.core.STAR_print_namespace_maps_STAR = true)"}
at cljs.repl$evaluate_form.invokeStatic(repl.cljc:577)
at cljs.repl$evaluate_form.invoke(repl.cljc:498)
at cljs.repl$repl_STAR.invokeStatic(repl.cljc:1129)
... 31 more