This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-05
Channels
- # announcements (3)
- # babashka (64)
- # bangalore-clj (1)
- # beginners (12)
- # calva (21)
- # cider (7)
- # clj-kondo (16)
- # cljdoc (1)
- # clojure (49)
- # clojure-dev (2)
- # clojure-europe (10)
- # clojure-germany (3)
- # clojure-italy (1)
- # clojure-uk (13)
- # clojuredesign-podcast (6)
- # clojurescript (2)
- # code-reviews (21)
- # data-science (2)
- # datomic (3)
- # emacs (20)
- # events (1)
- # fulcro (2)
- # graphql (4)
- # java (3)
- # malli (14)
- # off-topic (45)
- # re-frame (2)
- # shadow-cljs (7)
- # tools-deps (167)
- # vrac (14)
- # xtdb (4)
any suggestions how to fix shadow getting the wrong IP? (`shadow.cljs.devtools.client.env.server_host`)
I'm trying to compile a build for aws lambda, which renders a react app server side. Keep getting the error "Runtime.ImportModuleError: Error: Cannot find module 'react'",
in logs, which doesn't appear in the frontend build. Anyone know what i'm missing?
It's a reagent/re-frame app
@danielstockton looks like you are not copying the node_modules
for the lambda. node-script and node-library builds by default do not bundle their dependencies and will delegate to node to provide them. you can post process the output with something like https://github.com/vercel/ncc to make them fully self-contained if you want.
Yeah, im not. I guess i need to copy it into the zip before updating function code
ncc
might be useful, thanks