aws-samples / react-ssr-lambda

Demo of server side rendering for React application on AWS Lambda
MIT No Attribution
107 stars 24 forks source link

The source code for lambda functions is not present in simple-ssr/edge-build folder #1

Closed sachin10101998 closed 3 years ago

sachin10101998 commented 3 years ago

The lambda code referenced in the cdk part doesn't exist in respective folders

roman-boiko commented 3 years ago

This code is generated by webpack during build phase. You need to build simple-ssr project before deploying it with AWS CDK. You should run the next commands cd ../simple-ssr npm install npm run build-all cd ../cdk cdk deploy SSRAppStack --parameters mySiteBucketName=