Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples on README.md produce errors #872

Open
ssaul opened this issue Jun 5, 2017 · 0 comments
Open

Examples on README.md produce errors #872

ssaul opened this issue Jun 5, 2017 · 0 comments

Comments

@ssaul
Copy link

ssaul commented Jun 5, 2017

Cloning master and the running lein cljsbuild once hello (or other examples, did not check all) gives the following errors.

Compiling ClojureScript... Compiling "examples/hello/main.js" from ["src" "examples/hello/src"]... Compiling "examples/hello/main.js" failed. clojure.lang.ExceptionInfo: failed compiling file:examples/hello/out/cljs/pprint.cljs {:file #object[java.io.File 0x7018c94 "examples/hello/out/cljs/pprint.cljs"]} at clojure.core$ex_info.invokeStatic(core.clj:4725) at clojure.core$ex_info.invoke(core.clj:4725) at cljs.compiler$compile_file$fn__3241.invoke(compiler.cljc:1443) at cljs.compiler$compile_file.invokeStatic(compiler.cljc:1408) at cljs.compiler$compile_file.invoke(compiler.cljc:1384) at cljs.closure$compile_file.invokeStatic(closure.clj:488) at cljs.closure$compile_file.invoke(closure.clj:479) at cljs.closure$fn__4394.invokeStatic(closure.clj:557) at cljs.closure$fn__4394.invoke(closure.clj:551) at cljs.closure$fn__4336$G__4329__4343.invoke(closure.clj:441) at cljs.closure$compile_from_jar.invokeStatic(closure.clj:539) at cljs.closure$compile_from_jar.invoke(closure.clj:527) at cljs.closure$fn__4398.invokeStatic(closure.clj:567) at cljs.closure$fn__4398.invoke(closure.clj:551) at cljs.closure$fn__4336$G__4329__4343.invoke(closure.clj:441) at cljs.closure$compile_sources$iter__4520__4524$fn__4525.invoke(closure.clj:905) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.Cons.next(Cons.java:39) at clojure.lang.RT.next(RT.java:703) at clojure.core$next__4928.invokeStatic(core.clj:64) at clojure.core$dorun.invokeStatic(core.clj:3122) at clojure.core$doall.invokeStatic(core.clj:3128) at clojure.core$doall.invoke(core.clj:3128) at cljs.closure$compile_sources.invokeStatic(closure.clj:899) at cljs.closure$compile_sources.invoke(closure.clj:888) at cljs.closure$build.invokeStatic(closure.clj:2284) at cljs.closure$build.invoke(closure.clj:2216) at cljs.build.api$build.invokeStatic(api.clj:202) at cljs.build.api$build.invoke(api.clj:189) at cljs.build.api$build.invokeStatic(api.clj:192) at cljs.build.api$build.invoke(api.clj:189) at cljsbuild.compiler$compile_cljs$fn__701.invoke(compiler.clj:66) at cljsbuild.compiler$compile_cljs.invokeStatic(compiler.clj:65) at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:54) at cljsbuild.compiler$run_compiler.invokeStatic(compiler.clj:165) at cljsbuild.compiler$run_compiler.invoke(compiler.clj:126) at user$eval819$iter__867__871$fn__872$fn__898.invoke(form-init4353094918041725860.clj:1) at user$eval819$iter__867__871$fn__872.invoke(form-init4353094918041725860.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:525) at clojure.core$seq__4944.invokeStatic(core.clj:137) at clojure.core$dorun.invokeStatic(core.clj:3113) at clojure.core$doall.invokeStatic(core.clj:3128) at clojure.core$doall.invoke(core.clj:3128) at user$eval819.invokeStatic(form-init4353094918041725860.clj:1) at user$eval819.invoke(form-init4353094918041725860.clj:1) at clojure.lang.Compiler.eval(Compiler.java:7005) at clojure.lang.Compiler.eval(Compiler.java:6995) at clojure.lang.Compiler.load(Compiler.java:7457) at clojure.lang.Compiler.loadFile(Compiler.java:7395) at clojure.main$load_script.invokeStatic(main.clj:277) at clojure.main$init_opt.invokeStatic(main.clj:279) at clojure.main$init_opt.invoke(main.clj:279) at clojure.main$initialize.invokeStatic(main.clj:310) at clojure.main$null_opt.invokeStatic(main.clj:344) at clojure.main$null_opt.invoke(main.clj:341) at clojure.main$main.invokeStatic(main.clj:423) at clojure.main$main.doInvoke(main.clj:386) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.Var.applyTo(Var.java:702) at clojure.main.main(main.java:37) Caused by: clojure.lang.ExceptionInfo: Invalid :refer, macro cljs.pprint/deftype does not exist in file examples/hello/out/cljs/pprint.cljs {:tag :cljs/analysis-error} at clojure.core$ex_info.invokeStatic(core.clj:4725) at clojure.core$ex_info.invoke(core.clj:4725) at cljs.analyzer$error.invokeStatic(analyzer.cljc:645) at cljs.analyzer$error.invoke(analyzer.cljc:641) at cljs.analyzer$error.invokeStatic(analyzer.cljc:643) at cljs.analyzer$error.invoke(analyzer.cljc:641) at cljs.analyzer$check_use_macros.invokeStatic(analyzer.cljc:1966) at cljs.analyzer$check_use_macros.invoke(analyzer.cljc:1958) at cljs.analyzer$check_use_macros_inferring_missing$fn__1675.invoke(analyzer.cljc:1980) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invokeStatic(core.clj:659) at clojure.core$update_in$up__6382.invoke(core.clj:6067) at clojure.core$update_in.invokeStatic(core.clj:6068) at clojure.core$update_in.doInvoke(core.clj:6054) at clojure.lang.RestFn.invoke(RestFn.java:445) at cljs.analyzer$check_use_macros_inferring_missing.invokeStatic(analyzer.cljc:1978) at cljs.analyzer$check_use_macros_inferring_missing.invoke(analyzer.cljc:1971) at cljs.analyzer$ns_side_effects.invokeStatic(analyzer.cljc:3163) at cljs.analyzer$ns_side_effects.invoke(analyzer.cljc:3131) at cljs.analyzer$analyze_STAR_$fn__2145.invoke(analyzer.cljc:3228) at clojure.lang.PersistentVector.reduce(PersistentVector.java:341) at clojure.core$reduce.invokeStatic(core.clj:6703) at clojure.core$reduce.invoke(core.clj:6686) at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:3228) at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:3218) at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:3246) at cljs.analyzer$analyze.invoke(analyzer.cljc:3230) at cljs.compiler$emit_source.invokeStatic(compiler.cljc:1279) at cljs.compiler$emit_source.invoke(compiler.cljc:1259) at cljs.compiler$compile_file_STAR_$fn__3218.invoke(compiler.cljc:1353) at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1178) at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1167) at cljs.compiler$compile_file_STAR_.invokeStatic(compiler.cljc:1342) at cljs.compiler$compile_file_STAR_.invoke(compiler.cljc:1335) at cljs.compiler$compile_file$fn__3241.invoke(compiler.cljc:1431) ... 60 more Subprocess failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant