Fork me on GitHub

boot cljs
                                                  Boot.main            257
                                              boot.App.main             491
                                           boot.App.runBoot             399
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  150
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  159
                                            boot.main/-main                     main.clj:  216
                                         boot.main/-main/fn                     main.clj:  216
                                   clojure.core/load-string                     core.clj: 4055
                                   clojure.core/load-reader                     core.clj: 4053
java.lang.RuntimeException: First argument to def must be a Symbol
clojure.lang.ExceptionInfo: First argument to def must be a Symbol
    line: 54
How do I begin to debug this? Is there a filename somewhere and I'm blind, or is the error, for some reason, not showing the filename


I would hope you would be testing your build.boot file as you write each new function and so the error should have only occurred in the very latest code you added...


One debugging aid is to run boot -b to see the generated build file. So boot -b | cat -n is going to give you a line-numbered version of the actual complete build file -- which might help match line: 54 against your code.