This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-24
Channels
- # babashka (11)
- # beginners (62)
- # calva (9)
- # cider (7)
- # clj-kondo (18)
- # cljfx (2)
- # cljsrn (4)
- # clojure (55)
- # clojure-australia (3)
- # clojure-dev (2)
- # clojure-europe (39)
- # clojure-italy (3)
- # clojure-nl (3)
- # clojure-spec (5)
- # clojure-uk (5)
- # clojured (7)
- # clojurescript (16)
- # clojureverse-ops (2)
- # conjure (22)
- # cursive (12)
- # data-science (13)
- # datomic (8)
- # duct (7)
- # emacs (11)
- # events (1)
- # fulcro (12)
- # helix (10)
- # integrant (21)
- # introduce-yourself (5)
- # jobs (2)
- # jobs-discuss (16)
- # lsp (1)
- # malli (5)
- # meander (7)
- # membrane (9)
- # pathom (9)
- # reitit (5)
- # releases (3)
- # ring (2)
- # sci (18)
- # shadow-cljs (35)
- # sql (15)
Hi, I'm trying to build an uberjar with https://github.com/seancorfield/depstar for duct project. I've encountered a strange behaviour. So I compile project. Compilation goes fine, but when I try to run it I got:
No method in multimethod 'init-key' for dispatch value: :duct.profile/base
This is strange because duct/exec-config
should do the job and remove this key in (prep-config)
step.
It works when I run it from REPL. I'm not talking separate init procedure using integrant.repl. The exactly same code booting the app works fine when running from REPL. Any thoughts what am I missing here?Might be because you're not using Lein. Maybe this can help: https://github.com/duct-framework/duct/issues/92
Does anyone know why capsule
's site is down and whether that should worry users?
@UG9U7TPDZ once again thanks for help, I end up using pack.alpha with capsule. @U0GFU866B it looks like the original project is dead, so does website. You can access the website by archive: https://web.archive.org/web/20191207104737/http://www.capsule.io/ More on this: https://github.com/juxt/pack.alpha/issues/88 https://github.com/puniverse/capsule/issues/134 TBH would be nice to know that someone is looking after the project. I guess if at some point it becomes incompatible someone pick it up or we move to another solution.
I created a sample repo showing the usage of both • pack+capsule, • lein uberjar + lein-tools-deps. https://github.com/rynkowsg/examples/tree/9a0ee348aba327fe344a357e0c433ebff48b17ac/clojure-duct-uberjar