I am having a deployment issue I am hoping someone...
# orm-help
c
I am having a deployment issue I am hoping someone can help me with here. I have been using Prisma with NextJS locally with no problem while I have been developing my app. However, now that I have deployed to Vercel, I am getting this error: Error: error: Environment variable not found: DATABASE_URL I have set the environment variable in my vercel settings (copied and pasted from my .env file). Anyone have any clues as to why this is happening in the deployed app but not locally?
1
Nvm, lol. I hadn't read the last step about deploying to vercel and I was missing the "vercel-build" command. Seems to be working fine now.
👍 1