Open bfalzarano opened 4 years ago
Installed the dependencies with npm install and deployed using sls deploy. During the deployment the operation fails with the below error message.
npm install
sls deploy
An error occurred: CloudFront - The function code size is larger than the maximum allowed size for functions that are triggered by a CloudFront event
Additional info:
ls node_modules
grep version node_modules/serverless/package.json
"standard-version": "^7.0.1", "prepare-release": "standard-version && prettier --write CHANGELOG.md", "standard-version": { "version": "1.60.5"
node_modules_list.txt
Any fix? I'm getting the same
Installed the dependencies with
npm install
and deployed usingsls deploy
. During the deployment the operation fails with the below error message.Additional info:
ls node_modules
grep version node_modules/serverless/package.json
"standard-version": "^7.0.1", "prepare-release": "standard-version && prettier --write CHANGELOG.md", "standard-version": { "version": "1.60.5"
node_modules_list.txt