schmetterling icon indicating copy to clipboard operation
schmetterling copied to clipboard

now compiles after removing third-party Closure dependency

Open fsiler opened this issue 9 years ago • 4 comments

fsiler avatar Apr 30 '15 23:04 fsiler

You know.....do you think it would be best if I called this 0.0.9-SNAPSHOT, just so that people who do lein ancient upgrade don't get a nasty surprise?

fsiler avatar Apr 30 '15 23:04 fsiler

Hmm... still getting an error on compilation? Clojurescript must have drifted quite a bit.

clojure.lang.ExceptionInfo: failed compiling file:src/cljs/schmetterling/core.cljs {:file #<File src/cljs/schmetterling/core.cljs>}
    at clojure.core$ex_info.invoke(core.clj:4403)
    at cljs.compiler$compile_file$fn__3140.invoke(compiler.clj:1142)
    at cljs.compiler$compile_file.invoke(compiler.clj:1105)
    at cljs.compiler$compile_root.invoke(compiler.clj:1177)
    at cljs.closure$compile_dir.invoke(closure.clj:378)
    at cljs.closure$eval3519$fn__3520.invoke(closure.clj:418)
    at cljs.closure$eval3455$fn__3456$G__3446__3463.invoke(closure.clj:325)
    at cljs.closure$eval3506$fn__3507.invoke(closure.clj:432)
    at cljs.closure$eval3455$fn__3456$G__3446__3463.invoke(closure.clj:325)
    at cljsbuild.compiler.SourcePaths$fn__3899.invoke(compiler.clj:67)
    at clojure.core$map$fn__4245.invoke(core.clj:2557)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$apply.invoke(core.clj:624)
    at clojure.core$mapcat.doInvoke(core.clj:2586)
    at clojure.lang.RestFn.invoke(RestFn.java:423)
    at cljsbuild.compiler.SourcePaths._compile(compiler.clj:67)
    at cljs.closure$build.invoke(closure.clj:1446)
    at cljs.closure$build.invoke(closure.clj:1404)
    at cljsbuild.compiler$compile_cljs$fn__3910.invoke(compiler.clj:81)
    at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80)
    at cljsbuild.compiler$run_compiler.invoke(compiler.clj:180)
    at user$eval4042$iter__4078__4082$fn__4083$fn__4101.invoke(form-init7772935627056991659.clj:1)
    at user$eval4042$iter__4078__4082$fn__4083.invoke(form-init7772935627056991659.clj:1)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$dorun.invoke(core.clj:2855)
    at clojure.core$doall.invoke(core.clj:2871)
    at user$eval4042.invoke(form-init7772935627056991659.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:6703)
    at clojure.lang.Compiler.eval(Compiler.java:6693)
    at clojure.lang.Compiler.load(Compiler.java:7130)
    at clojure.lang.Compiler.loadFile(Compiler.java:7086)
    at clojure.main$load_script.invoke(main.clj:274)
    at clojure.main$init_opt.invoke(main.clj:279)
    at clojure.main$initialize.invoke(main.clj:307)
    at clojure.main$null_opt.invoke(main.clj:342)
    at clojure.main$main.doInvoke(main.clj:420)
    at clojure.lang.RestFn.invoke(RestFn.java:421)
    at clojure.lang.Var.invoke(Var.java:383)
    at clojure.lang.AFn.applyToHelper(AFn.java:156)
    at clojure.lang.Var.applyTo(Var.java:700)
    at clojure.main.main(main.java:37)
Caused by: clojure.lang.ExceptionInfo: No such namespace: singult.coffee, could not locate singult/coffee.cljs or singult/coffee.cljc at line 1 file:/Users/rspangler/.m2/repository/com/keminglabs/singult/0.1.6/singult-0.1.6.jar!/singult/core.cljs {:tag :cljs/analysis-error, :file "file:/Users/rspangler/.m2/repository/com/keminglabs/singult/0.1.6/singult-0.1.6.jar!/singult/core.cljs", :line 1, :column 1}
    at clojure.core$ex_info.invoke(core.clj:4403)
    at cljs.analyzer$error.invoke(analyzer.clj:380)
    at cljs.analyzer$error.invoke(analyzer.clj:377)
    at cljs.analyzer$analyze_deps.invoke(analyzer.clj:1265)
    at cljs.analyzer$eval1771$fn__1773.invoke(analyzer.clj:1516)
    at clojure.lang.MultiFn.invoke(MultiFn.java:249)
    at cljs.analyzer$analyze_seq.invoke(analyzer.clj:1861)
    at cljs.analyzer$analyze$fn__2019.invoke(analyzer.clj:1953)
    at cljs.analyzer$analyze.invoke(analyzer.clj:1946)
    at cljs.analyzer$analyze_file$fn__2070.invoke(analyzer.clj:2190)
    at cljs.analyzer$analyze_file.invoke(analyzer.clj:2185)
    at cljs.analyzer$analyze_deps.invoke(analyzer.clj:1262)
    at cljs.analyzer$eval1771$fn__1773.invoke(analyzer.clj:1516)
    at clojure.lang.MultiFn.invoke(MultiFn.java:249)
    at cljs.analyzer$analyze_seq.invoke(analyzer.clj:1861)
    at cljs.analyzer$analyze$fn__2019.invoke(analyzer.clj:1953)
    at cljs.analyzer$analyze.invoke(analyzer.clj:1946)
    at cljs.compiler$compile_file_STAR_$fn__3108.invoke(compiler.clj:1023)
    at cljs.compiler$with_core_cljs.invoke(compiler.clj:964)
    at cljs.compiler$compile_file_STAR_.invoke(compiler.clj:984)
    at cljs.compiler$compile_file$fn__3140.invoke(compiler.clj:1125)
    ... 45 more

prismofeverything avatar May 01 '15 17:05 prismofeverything

Wow, interesting. What platform (OS, JVM) are you using? I will try to reproduce this.

This is my first ClojureScript project, and really, I'm pretty early in learning about the JVM and stuff. Appreciate your patience in working with me.

fsiler avatar May 03 '15 01:05 fsiler

Interestingly, lein cljsbuild test builds something, which may or may not be correct. lein cljsbuild once then reports that all is well, and not even lein clean gets rid of it; you have to do git clean -f -X -d to get lein cljsbuild once to fail again. I haven't the slightest idea what's going on, but I will dig around a bit and see.

fsiler avatar May 04 '15 09:05 fsiler