Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

An error occurred: ServerLambdaFunction - Unzipped size must be smaller than 262144000 bytes #80

Open
tidd99 opened this issue May 22, 2020 · 0 comments

Comments

@tidd99
Copy link

tidd99 commented May 22, 2020

Describe the bug
The app is too large to deploy to AWS Lambda. In the example, the deploy size is 77.6MB. However when I deploy the app it is 122.3MB, which is too large for AWS Lambda. Therefore I get this error An error occurred: ServerLambdaFunction - Unzipped size must be smaller than 262144000 bytes

To Reproduce
Follow steps 1-4 here https://github.com/axa-group/nlp.js-app/blob/master/docs/serverless-aws.md

Expected behavior
The app deploys successfully

Desktop (please complete the following information):

  • OS: macOS Mojave
  • Browser: N/A
  • Version: N/A

Additional context
I have pushed the nlp.js-app repo up into a gitlab repository, which is what I'm deploying.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant