Fork me on GitHub
#boot
<
2015-11-28
>
mswift4209:11:23

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.

juhoteperi09:11:52

@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

juhoteperi09:11:58

Would be cool to have test case for this as I don't know how to reproduce such exception myself

mswift4210:11:50

@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.

juhoteperi10:11:18

No warnings or anything when checking out the master?

juhoteperi10:11:41

In some cases Cljs compiler works differently when doing cold compile vs. incremental compile

juhoteperi10:11:27

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.

mswift4210:11:58

@juhoteperi: No warning, just this stacktrace. I'll go back to an earlier commit and try to reproduce this .