This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-23
Channels
- # announcements (7)
- # babashka (40)
- # babashka-sci-dev (74)
- # beginners (74)
- # calva (31)
- # cider (11)
- # clj-kondo (22)
- # cljs-dev (1)
- # cljsrn (1)
- # clojure (70)
- # clojure-brasil (3)
- # clojure-dev (12)
- # clojure-europe (39)
- # clojure-nl (2)
- # clojure-norway (15)
- # clojure-uk (9)
- # clojurescript (69)
- # community-development (2)
- # conjure (1)
- # core-async (3)
- # cursive (1)
- # data-science (1)
- # datalevin (13)
- # datomic (17)
- # emacs (42)
- # events (1)
- # fulcro (16)
- # graphql (9)
- # helix (1)
- # holy-lambda (14)
- # honeysql (2)
- # hugsql (3)
- # hyperfiddle (5)
- # kaocha (10)
- # lsp (41)
- # luminus (5)
- # malli (7)
- # meander (3)
- # membrane (47)
- # off-topic (23)
- # podcasts (2)
- # polylith (34)
- # rdf (4)
- # re-frame (2)
- # releases (2)
- # remote-jobs (1)
- # ring (16)
- # shadow-cljs (111)
- # spacemacs (6)
- # test-check (2)
- # tools-deps (19)
Hello everyone. I’m trying to add the ring/ring-codec dependency to a holy-lambda project and edit the deps.edn and bb.edn file, adding the library to the :deps key. After running bb hl:babashka:sync, nothing happens. The library is not downloaded to .holy-lambda/bb-clj-deps/ and the AWS lambda layer is not rebuilt
Did you try the example project? It was helpful for me to get that running before I attempted the same on my own code: https://github.com/FieryCod/holy-lambda-ring-adapter/tree/master/examples/native
Also, to interact locally, use
sam local start-api
Could you share your project so that I can see what exactly happens there?
I cannot reproduce the problem.
1. I've created a new project via lein new holy-lambda
babashka-example`
2. I've added ring-codec to bb.edn:
{:deps {io.github.FieryCod/holy-lambda-babashka-tasks
{:git/url ""
:deps/root "./modules/holy-lambda-babashka-tasks"
:sha "aad552d90f9b87929755a13641a8e73468430ba0"}
ring/ring-codec {:mvn/version "1.2.0"}
io.github.FieryCod/holy-lambda {:mvn/version "0.6.6"}}
3. I ran bb hl:babashka:sync
and I can confirm the packages are there:Dear @UJ1339K2B, thank you very much for your time and support
I’ll look into this in 2-3 hours
@U15D43HU7
1. How do you test your lambda?
2. > After running bb hl:babashka:sync
, nothing happens.
What do you mean by that. Can you list packages in .holy-lambda/bb-clj-deps/.m2
via ls -la .holy-lambda/bb-clj-deps/.m2
?
I did a dry run of your function via sam local invoke
and you have a syntax issue in your code.
Dear @UJ1339K2B I deleted the stack and recreated it and everything is working now! I can’t tell what wasn’t working before. I’m really grateful for your help and time! Thank you very much!