So I used to think the stacktraces from Clojure were a bit
cryptic....how do I deal with ClojureScript compile errors? For
instance:

bin/cljsc ~/projects/WebSite/src/WebSite/CLJS > ~/test.js
Exception in thread "main" java.lang.UnsupportedOperationException:
nth not supported on this type: Symbol
        at clojure.lang.RT.nthFrom(RT.java:835)
        at clojure.lang.RT.nth(RT.java:785)
        at 
cljs.compiler$eval723$fn__725$fn__732$fn__735.invoke(compiler.clj:783)
        at clojure.core$map$fn__3839.invoke(core.clj:2433)
        at clojure.lang.LazySeq.sval(LazySeq.java:42)
        at clojure.lang.LazySeq.seq(LazySeq.java:60)
        at clojure.lang.RT.seq(RT.java:466)
        at clojure.core$seq.invoke(core.clj:133)
        at clojure.core$reduce.invoke(core.clj:5985)
        at clojure.core$into.invoke(core.clj:5995)
        at cljs.compiler$eval723$fn__725$fn__732.invoke(compiler.clj:783)
        at clojure.core.protocols$fn__5607.invoke(protocols.clj:64)
        at 
clojure.core.protocols$fn__5592$G__5587__5601.invoke(protocols.clj:11)
        at clojure.core$reduce.invoke(core.clj:5986)
        at cljs.compiler$eval723$fn__725.invoke(compiler.clj:787)
        at clojure.lang.MultiFn.invoke(MultiFn.java:177)
        at cljs.compiler$analyze_seq.invoke(compiler.clj:901)
        at cljs.compiler$analyze.invoke(compiler.clj:954)
        at cljs.compiler$analyze.invoke(compiler.clj:947)
        at cljs.compiler$compile_file.invoke(compiler.clj:1141)
        at cljs.compiler$compile_root.invoke(compiler.clj:1221)
        at cljs.closure$compile_dir.invoke(closure.clj:235)
        at cljs.closure$eval1151$fn__1152.invoke(closure.clj:265)
        at cljs.closure$eval1087$fn__1088$G__1078__1095.invoke(closure.clj:187)
        at cljs.closure$eval1138$fn__1139.invoke(closure.clj:280)
        at cljs.closure$eval1087$fn__1088$G__1078__1095.invoke(closure.clj:187)
        at cljs.closure$build.invoke(closure.clj:702)
        at user$eval1286.invoke(cljsc.clj:21)
        at clojure.lang.Compiler.eval(Compiler.java:6406)
        at clojure.lang.Compiler.load(Compiler.java:6843)
        at clojure.lang.Compiler.loadFile(Compiler.java:6804)
        at clojure.main$load_script.invoke(main.clj:282)
        at clojure.main$script_opt.invoke(main.clj:342)
        at clojure.main$main.doInvoke(main.clj:426)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at clojure.lang.Var.invoke(Var.java:405)
        at clojure.lang.AFn.applyToHelper(AFn.java:163)
        at clojure.lang.Var.applyTo(Var.java:518)
        at clojure.main.main(main.java:37)

If I actually knew where the error was from (in what .cljs file?) it
might help.....

Timothy

-- 
“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to