perfect-paca
perfect-paca copied to clipboard
Unzipped size must be smaller than 262144000 bytes.
Asset Size Chunks Chunk Names
server-bundle.json 3.72 MB [emitted]
nuxt: Call build:done hooks (2) +1m
nuxt:build Building done +1m
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
.....
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service .zip file to S3 (124.18 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
................
Serverless: Operation failed!
Serverless Error ---------------------------------------
An error occurred: MainLambdaFunction - Unzipped size must be smaller than 262144000 bytes.
My website is pretty large and has a lot of pages and assets. What would be the best approach to use this?
somewhat belated, @jmcmullen , but the approach that I've taken is to do static hosting outside of the app. And then just put URLs/links within the app.
If this doesn't work, your app might be too big to host onto lambda/serverless