Deployment fails
Hi everyone! I'm trying to build nextjs app with authjs via prisma and d1 database. Everyting works great on local enviroment without any errors on build and preview but when I try to deploy my deployment fails and I don't know why. Where can I see error logs from deployments?
Deployment ID: 7b7f1b3e-641d-45b2-b0b4-d3a099ca5f19
Account ID: a953ae5b6c3ea96e30adb99c9a34804e
4 Replies
Hey there! it looks like we received a
edge_deployment_failed
error with a functions file too large error.
Thanks, now I see that prisma add almost 2 MiB wasm file to workers. When I removed prisma adapter from auth.ts wasm file disappeared.
Gotcha, anything else I can assist with?
I don't think so, thanks for your help. I read on prisma github that it is on their side and nothing can be done about it currently. I'm switching to drizzle.