This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-18
Channels
- # beginners (123)
- # boot (3)
- # cider (6)
- # clara (1)
- # cljs-dev (139)
- # cljsrn (9)
- # clojure (59)
- # clojure-italy (5)
- # clojure-uk (41)
- # clojured (10)
- # clojurescript (67)
- # community-development (1)
- # component (2)
- # core-async (7)
- # cursive (4)
- # datomic (4)
- # defnpodcast (2)
- # fulcro (23)
- # graphql (1)
- # jobs (2)
- # leiningen (4)
- # off-topic (32)
- # portkey (7)
- # protorepl (5)
- # re-frame (19)
- # reagent (5)
- # reitit (23)
- # shadow-cljs (29)
- # slack-help (1)
- # spacemacs (1)
- # tools-deps (21)
- # unrepl (18)
boot cljs
Boot.main Boot.java: 257
...
boot.App.main App.java: 491
boot.App.runBoot App.java: 399
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 150
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 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 filenameI 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.