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
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
i dont think prisma can run on the edge
Prisma
Database access on the Edge with Next.js, Vercel and Prisma Data Proxy
Learn how you can query databases in Edge environments using Prisma and the Prisma Data Proxy.
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.