P
Prisma•3mo ago
Hosenur

Prisma + Turborepo build fails in Vercel

I have a turborepo with prisma as a package , when running locally everything works, even builds locally too, but when I am deploying the project it throws an error stating DATABASE_URL is not present: Environment variable not found: DATABASE_URL.
1 Reply
RaphaelEtim
RaphaelEtim•3mo ago
Hi @Hosenur 👋 The error implies that the DATABASE_URL environment variable is not set in the Vercel environment where you're deploying your Turborepo project. To resolve this error, go to your project settings on Vercel, navigate to Environment Variables and add DATABASE_URL with the appropriate value.
Want results from more Discord servers?
Add your server