any suggestions how to fix shadow getting the wrong IP? (`shadow.cljs.devtools.client.env.server_host`)
@benny wrong IP in which context? react-native?
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