This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-03
Channels
- # aws (3)
- # babashka (46)
- # bangalore-clj (2)
- # beginners (89)
- # cider (1)
- # clojure (57)
- # clojurescript (4)
- # conjure (6)
- # duct (3)
- # fulcro (2)
- # graalvm-mobile (41)
- # introduce-yourself (1)
- # lsp (12)
- # malli (11)
- # off-topic (37)
- # pathom (3)
- # pedestal (6)
- # podcasts-discuss (5)
- # polylith (17)
- # releases (2)
- # sci (2)
- # shadow-cljs (8)
- # specter (1)
- # tools-deps (10)
I’m having this issue trying to lein uberjar a duct app.
{:via
[{:type clojure.lang.Compiler$CompilerException,
:message
"Syntax error compiling at (/private/var/folders/94/6nw_xg613t70km9pd19t4sd40000gq/T/form-init2705048076982769724.clj:1:125).",
:data
{:clojure.error/phase :compile-syntax-check,
:clojure.error/line 1,
:clojure.error/column 125,
:clojure.error/source
"/private/var/folders/94/6nw_xg613t70km9pd19t4sd40000gq/T/form-init2705048076982769724.clj"},
:at [clojure.lang.Compiler load "Compiler.java" 7652]}
{:type java.lang.IllegalArgumentException,
:message "Cannot open <nil> as an InputStream.",
:at [$fn__11498 invokeStatic "io.clj" 167]}],
:trace
[[$fn__11498 invokeStatic "io.clj" 167]
[$fn__11498 invoke "io.clj" 167]
[$fn__11433$G__11426__11440 invoke "io.clj" 69]
[duct.core.resource.Resource make_reader "resource.clj" 13]
[$reader invokeStatic "io.clj" 102]
[$reader doInvoke "io.clj" 86]
[clojure.lang.RestFn invoke "RestFn.java" 41
Seems like duct.core.resource is trying to read something, doesn’t happen on the repl or devOkay, this was due to a bug in main.clj after I renamed the app:
(-> (duct/resource "foobar-app/config.edn")
It should have been underscore insteadExecution error at integrant.core/read-string (core.cljc:155).
No reader function for tag duct/inlcude
How can I resolve this error? it occurs when we run (go)
. I'm using deps.edn.