This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-20
Channels
- # announcements (1)
- # babashka (74)
- # beginners (84)
- # bristol-clojurians (3)
- # cider (2)
- # clara (14)
- # cljdoc (18)
- # cljsrn (7)
- # clojure (29)
- # clojure-australia (4)
- # clojure-europe (34)
- # clojure-italy (3)
- # clojure-nl (5)
- # clojure-seattle (1)
- # clojure-uk (33)
- # clojuredesign-podcast (2)
- # clojurescript (33)
- # code-reviews (17)
- # core-async (10)
- # cursive (8)
- # datomic (21)
- # depstar (45)
- # dirac (4)
- # duct (10)
- # emacs (1)
- # fulcro (8)
- # jackdaw (2)
- # jobs (1)
- # kaocha (11)
- # leiningen (2)
- # off-topic (8)
- # pathom (35)
- # pedestal (3)
- # protorepl (13)
- # rdf (39)
- # re-frame (23)
- # reagent (2)
- # releases (1)
- # remote-jobs (6)
- # reveal (2)
- # rewrite-clj (18)
- # shadow-cljs (51)
- # sim-testing (2)
- # spacemacs (2)
- # tools-deps (37)
I'm trying to create an uberjar for a duct app, and I've got
:main ^:skip-ato my-app.main
in my project.clj, but when I call lein uberjar
, it seems like it tries to compile/invoke the -main
function, and it fails because certain pieces of #duct/env
configuration haven't been provided yet, causing their init-keys to fail.@U0NT3T5G9 I don’t know if it’s only here in your message but you might have a typo in your code :skip-aot
. Not sure if that’s the cause of the problem though.
Thanks, @UHQ12T97F, I double-checked that too. @UG9U7TPDZ’s hunch was right.
Do I have to have my environmental configuration available at build-time? That seems unintuitive. Feels like I'm missing something in my project setup to allow an uberjar to be built, but for the environmental configuration to be deferred.