Make sure the .env is named correctly. At the previous stage, Vercel created a local .env.local file instead of .env. This made it difficult to setup prisma because prisma couldn't find the .env file. Renaming the file from .env.local to .env fixed the bug.
Make sure the .env is named correctly. At the previous stage, Vercel created a local .env.local file instead of .env. This made it difficult to setup prisma because prisma couldn't find the .env file. Renaming the file from .env.local to .env fixed the bug.