-
Notifications
You must be signed in to change notification settings - Fork 972
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
Netlify Request must be smaller than 69905067 bytes for the CreateFunction operation #1196
Comments
Hi @KrisCoulson! Thanks for checking in about this. And if you'd ever like to help fix things like this in the future and become a RedwoodJS contributor, a couple of quick things to help:
re: setting the Binary TargetCould you copy+paste the generator client {
provider = "prisma-client-js"
binaryTargets = "native"
} Things have changed a lot with both Prisma and Netlify (and Vercel) over the past 3-4 months. Setting "native" in the schema.prisma is all that's now required. I'm curious if you've upgraded from an earlier version and these code changes weren't reflected in your project. If not, something 🐟 is definitely going on. |
@thedavidprice for sure I am looking forward to contributing. Actually got a baby PR merged in the other day. To be fair this was probably on me because this was a project that I started a while ago and picked back up. So it looks like the |
Hello here, Ok so I stumbled on this issue pretty recently and after a check, my
But! Being most of the time on the fishy side of things, it was not enough. I believe it was @jtoar who posted on another thread ( can't find which :-\ ) the very useful following commands to investigate :
Which showed that my Investigating the archive, I can see the Is it normal, or is there any way to reduce this? |
I've seen this come up a few times recently. (About the size limit.) Can't remember exactly where though 🤔 And the |
This is related #1345 This is probably even more related, this discussion on Discord https://discord.com/channels/679514959968993311/716252919875240007/772837339059716137 Another one: redwoodjs/playground-auth#9 Ohh, and also this about binaryTarget: https://github.com/redwoodjs/redwoodjs.com/issues/446 |
AFAIK the current status is "solved but still poppin' ", I fixed it using different binaries on local and on prod - until we have a reliable fix provided :-. On prod, the |
Not exactly sure where the documentation lives so I figured here would be the next best place to leave an issue.
netlify
deployment documentation is missing a step. When trying to deploy today I kept receiving this errorAfter a bunch of googling I couldn't find a real answer so I went back to the documentation. Still no luck. Luckily @cannikin has those amazing 4k godlike quality videos. He mentions needing the
BINARY_TARGET
env variable to be set onnetlify
so thatprisma
knows to compile to the right target. And then everything deployed smoothly.So I think it would be a nice addition to add this to the tutorial/text documentation and in the meantime, I put the error in the issue title in case anyone comes here looking.
The text was updated successfully, but these errors were encountered: