-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unzipped size must be smaller - large next project #141
Comments
Thanks for reporting! |
thanks for getting back to me ... my .next/serverless/pages is 255 MB. my repo is a very standard next.js project but is a private repo. I have 19 pages along with api folder with 22 api files and a few dynamic pages (2 folders and 2 files). let me know any suggestion you might have. here is the detail error: 111s » nextApp » InvalidParameterValueException: Unzipped size must be smaller than 262144000 bytes` |
Sorry for the late reply @jschimmoeller . Here is my idea to solve this problem: 1 - Create a separate cache behaviour for I'm not very sure about 2. as it adds a lot of complexity to the project but 1. certainly makes a lot of sense. I plan on start implementing 1. very soon, I'll keep you posted. |
My api directory as it is right now is 90mb. The series and watch folder are dynamic routes which together are only 17mb. The remaining pages are 147mb. Based on your input above I would need to be able to setup multiple "cache behavior" in order to get around what appears to be the 50MB limit. thanks |
@jschimmoeller Are those numbers after zipping up? |
@danielcondemarin sorry but no that is just based on the directory /files sizes i used 7-zip and here are my values: api folder - 16.6mb zipped so based on your original reply it would be under 50mb thanks |
@jschimmoeller Just published |
@danielcondemarin just updated package.json and did a deploy was able to deploy it 👍 I am currently tracking down a 500 :( I hope it is on my end |
Good stuff! Let me know if it isn't :) |
recieved this error when trying to deploy
112s » nextApp » InvalidParameterValueException: Unzipped size must be smaller than 262144000 bytes
The text was updated successfully, but these errors were encountered: