core
core copied to clipboard
[CLI] Support multipart upload for `nuxthub deploy`
When try to deploy the project with npx nuxthub deploy get the error message
"https://admin.hub.nuxt.com/api/teams/numberslk/projects/numberslk/deploy": 413 Request Entity Too Large
Sorry about this @numberslk
We may have to use multipart upload for this @farnabaz
In the meantime, I think you can switch to use Cloudflare Pages CI for your project @numberslk
To clarify, is this happening because the project size is more than 100MB? Link to Cloudflare Community Post
We just able to successfully deploy the project by significantly reducing the project size to approximately 10MB by removing the local images.
Thanks for looking at it, indeed it seems to be the issue
I encountered the same issue :-(. Everything was fine yesterday because I just pushed some new changes, but today I restarted the same production as a new project… I suspect there might have been some caching involved yesterday…
Σ Total size: 11.4 MB (3.34 MB gzip)
✔ You can preview this build using npx nuxthub preview nitro 19:59:24
✔ You can deploy this build using npx nuxthub deploy nitro 19:59:24
✖ Failed to deploy eazeazeaz to production.
ERROR [POST] "https://admin.hub.nuxt.com/api/teams/azeaea/projects/eazaze/deploy": 413 Request Entity Too Large
Fixed in https://github.com/nuxt-hub/cli/pull/41