Not excluding dev deps

serverless/zipService.js at 643c4fdd7e9c7bfd7a81c4be81a23cffd4be3113 · serverless/serverless · GitHub is choking with the amount of deps.

It might be due to one of the larger ones like that database dep. Related issue with globby maybe? Too slow in big projects · Issue #43 · sindresorhus/globby · GitHub (all glob libs seem to face this tho)

wordnet-db is 45MB and @firebase is 8.4MB. Get rid of those deps or tree shake out what you need and your zip should be much smaller. (this is 53.4 of the total 58.1mb zip)

I also removed the aws-sdk as it’s already included in the lambda runtime.

I will email you the updated serverless.yml and package.json I’m using.