This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-24
Channels
- # aleph (1)
- # announcements (22)
- # atom-editor (11)
- # babashka (46)
- # beginners (60)
- # calva (44)
- # cider (18)
- # circleci (1)
- # cljdoc (12)
- # cljs-dev (5)
- # cljsrn (19)
- # clojars (3)
- # clojure (162)
- # clojure-dev (9)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-losangeles (2)
- # clojure-nl (5)
- # clojure-spec (7)
- # clojure-uk (23)
- # clojureremote (1)
- # clojurescript (55)
- # community-development (14)
- # core-async (234)
- # cursive (14)
- # data-science (3)
- # datomic (32)
- # fulcro (5)
- # graalvm (20)
- # graphql (2)
- # hugsql (4)
- # jobs (11)
- # jobs-discuss (2)
- # joker (1)
- # juxt (3)
- # kaocha (1)
- # luminus (1)
- # off-topic (33)
- # pathom (3)
- # pedestal (1)
- # reagent (24)
- # remote-jobs (3)
- # shadow-cljs (38)
- # spacemacs (4)
- # specter (4)
- # speculative (54)
- # tools-deps (62)
- # vim (8)
- # vscode (14)
Hello! I have changed from
(aero/read-config
( "config.edn")
{:profile (profile)})
to
(aero/read-config
( "config.edn")
{:profile (profile)
:resolver aero/resource-resolver})
and suddenly am getting the exception "Cannot open <nil> as a Reader." when trying to read config, any idea why that could be?
> [http://clojure.java.io$reader doInvoke io.clj 86]
> ..
> [aero.core$read_config_into_tag_wrapper invokeStatic core.cljc 332]
It seems like Aero is passing a nil
include to io/resource
?
Update: No idea what was wrong, I reverted to the default adaptive-resolver which tries io/resource anyway (and fixed my config to include "file.edn" instead of "./file.edn")✅ 4
If you can provide a minimal config and version I'll look into it. Bit tricky otherwise. Shouldn't happen though, you're right
I got it working so don't worry about it. Thank you!