Skip to content
This repository was 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

@tidd99

Description

@tidd99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions