Internal server error vercel edge runtime

My project works on my machine, it builds on vercel just fine, but when I open the page it crashes the server. Does anybody knows what I'm doing wrong here? It will work just fine when removing the
export const runtime = "edge"
export const runtime = "edge"
from the home page. git repo: https://github.com/greidinger-reis/ecommerce-edge deployment url: https://ecommerce-edge.vercel.app/
GitHub
GitHub - greidinger-reis/ecommerce-edge: edge-stack
edge-stack. Contribute to greidinger-reis/ecommerce-edge development by creating an account on GitHub.
3 Replies
Neto
Neto2y ago
i dont think prisma can run on the edge
thejonyboybr
thejonyboybrOP2y ago
yep, I know that. but I'm using prisma just for the schema for data access I'm using kysely it was a problem with the @clerk/nexjts package version. Upgrading to the latest version fixed it.
Want results from more Discord servers?
Add your server