-
Notifications
You must be signed in to change notification settings - Fork 76
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
BREAKING: Since 0.22 update," Build Failed The Serverless Function "index" is 73.15mb which exceeds the maximum size limit of 50mb." #633
Comments
@madebyfabian Would you check to see the size of a previous function (as produced by |
@danielroe thanks for your answer, I would really like to tell you what the build size with 0.21.x is, but I couldn’t find anything in the logs, regarding to the size of the function. Am I missing something? |
@danielroe Ah, I see. Too obvious 😄. It’s 8,73 MB. |
@madebyfabian Yes, that is suspicious! Would you provide a reproduction? |
@danielroe I've setuped a completely blank nuxt project for reproduction. With create-nuxt-app. With absolutely nothing in it besides the demo component/text. https://github.com/madebyfabian/vercel-builder-issue-reprod. And it's at 30MB when using 0.22.x, with a build time of 1m 16s:
When using 0.21.0, it's at 54s build time and at only 3MB: I can of course also give you access to the repo I am working and facing the issues, if that helps in any way. |
@madebyfabian No, that's great - thank you. |
@madebyfabian Should be released in |
@danielroe Thank you very much for that quick investigation and hotfix, appreciate it! |
Hi, thanks for the tip. "use": "@nuxtjs/vercel-builder@0.21.3" I still get the error: Error: The Serverless Function "index" is 91.84mb which exceeds the maximum size limit of 50mb. |
I've also get the same error during my recent deployment using vercel-builder 0.23.0. |
Same thing happened to me, been getting:
using vercel build version 0.22.1 fixed it for me {
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/vercel-builder@0.22.1",
"config": {
"serverFiles": [
".nuxt/dist/sitemap-routes.json"
]
}
}
]
} |
Same thing happening again with version 0.23.0 - this should be reopened |
None of the above options worked for me, was able to bring down to 50.13 Mb with options above. Ended up moving few packages under |
Let's track in #727 |
Since 0.22., the vercel builder does not work anymore. It errors with the message
Without me changing anything in the code. When I define an older version of vercel-builder manually in config:
it works like it should. Why is the 0.22 release breaking, and it's not a major relase (going up to 1.x)? Since now all projects that haven't defined a specific version of the vercel builder in config, will fail.
The text was updated successfully, but these errors were encountered: