Hi,
I get the following exception in the browser REPL when following the Quick
Start instructions to require the hello-world.core namespace. This is with Mac
OS X, Chrome, and r3308 of the standalone ClojureScript jar as linked on the
Quick Start page.
cljs.user=> (require '[hello-world.core :as hello])
clojure.lang.ExceptionInfo: No such namespace: hello-world.core, could not
locate hello_world/core.cljs, hello_world/core.cljc, or Closure namespace
"hello-world.core" at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column
1, :tag :cljs/analysis-error}
at clojure.core$ex_info.invoke(core.clj:4591)
at cljs.analyzer$error.invoke(analyzer.cljc:384)
at cljs.analyzer$error.invoke(analyzer.cljc:382)
at cljs.analyzer$analyze_deps.invoke(analyzer.cljc:1293)
at cljs.analyzer$fn__1340.invoke(analyzer.cljc:1545)
at clojure.lang.MultiFn.invoke(MultiFn.java:251)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:1900)
at cljs.analyzer$analyze$fn__1567.invoke(analyzer.cljc:1992)
at cljs.analyzer$analyze.invoke(analyzer.cljc:1985)
at cljs.repl$evaluate_form.invoke(repl.cljc:429)
at cljs.repl$fn__4240$self__4252.invoke(repl.cljc:640)
at cljs.repl$repl_STAR_$read_eval_print__4305.invoke(repl.cljc:820)
at cljs.repl$repl_STAR_$fn__4311$fn__4318.invoke(repl.cljc:859)
at cljs.repl$repl_STAR_$fn__4311.invoke(repl.cljc:858)
at cljs.compiler$with_core_cljs.invoke(compiler.cljc:968)
at cljs.repl$repl_STAR_.invoke(repl.cljc:824)
at cljs.repl$repl.doInvoke(repl.cljc:940)
at clojure.lang.RestFn.invoke(RestFn.java:486)
at user$eval30.invoke(repl.clj:10)
at clojure.lang.Compiler.eval(Compiler.java:6792)
at clojure.lang.Compiler.load(Compiler.java:7237)
at clojure.lang.Compiler.loadFile(Compiler.java:7175)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$script_opt.invoke(main.clj:337)
at clojure.main$main.doInvoke(main.clj:421)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:379)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Any suggestions on how to resolve this?
Also, I'm not sure if this is related, but the browser REPL will often hang
even with the browser REPL tab focused. Refreshing the page doesn't resolve it.
The only way to work around it seems to be to quit and restart the REPL.
Thanks.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.