This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-28
Channels
- # admin-announcements (21)
- # beginners (102)
- # boot (8)
- # cider (40)
- # cljsrn (2)
- # clojure (52)
- # clojure-nl (2)
- # clojure-russia (6)
- # clojure-taiwan (2)
- # clojure-uk (1)
- # clojurescript (363)
- # datavis (22)
- # datomic (69)
- # emacs (4)
- # hoplon (1)
- # immutant (2)
- # jobs-rus (13)
- # ldnclj (6)
- # lein-figwheel (2)
- # leiningen (9)
- # liberator (1)
- # off-topic (1)
- # om (68)
- # onyx (28)
- # parinfer (3)
does anyone know what an error like this means:
Compiling ClojureScript...
• js/app.js
adzerk.boot_cljs.util.proxy$clojure.lang.ExceptionInfo$ff19274a:
data: {:tag :cljs/analysis-error, :from :boot-cljs}
adzerk.boot_cljs.util.proxy$java.lang.Throwable$ff19274a:
cljs.analyzer$analyze.invoke analyzer.cljc: 2587
cljs.analyzer$analyze_file$fn__1984.invoke analyzer.cljc: 2838
cljs.analyzer$analyze_file.invoke analyzer.cljc: 2833
cljs.analyzer$analyze_deps.invoke analyzer.cljc: 1654
cljs.analyzer$ns_side_effects.invoke analyzer.cljc: 2492
cljs.analyzer$analyze_STAR_$fn__1933.invoke analyzer.cljc: 2573
...
clojure.core/reduce core.clj: 6518
cljs.analyzer$analyze_STAR_.invoke analyzer.cljc: 2573
cljs.analyzer$analyze.invoke analyzer.cljc: 2588
cljs.analyzer$analyze_file$fn__1984.invoke analyzer.cljc: 2838
cljs.analyzer$analyze_file.invoke analyzer.cljc: 2833
cljs.analyzer$analyze_deps.invoke analyzer.cljc: 1654
cljs.analyzer$ns_side_effects.invoke analyzer.cljc: 2492
cljs.analyzer$analyze_STAR_$fn__1933.invoke analyzer.cljc: 2573
...
I've no idea what's going on and even checking out an earlier commit, I still get this error.@mswift42: There's some problem on your Cljs code and in this case the exception for doesn't provide any info or there is bug in Boot-cljs that loses the info
Would be cool to have test case for this as I don't know how to reproduce such exception myself
@juhoteperi: Thanks, I'm getting it to compile with a 2 days old commit. The strange thing is, if I checkout master while boot dev
is running, it compiles without any problems. But if I quit the boot process, and run boot dev
again it fails with the above error.
No warnings or anything when checking out the master?
In some cases Cljs compiler works differently when doing cold compile vs. incremental compile
One possibility is that code is master refers to a namespace that has been removed or is missing somehow. Incremental compile would work as the namespace would stay on cache.
@juhoteperi: No warning, just this stacktrace. I'll go back to an earlier commit and try to reproduce this .