PrismaP
Prisma2y ago
5 replies
SunStorm

Cannot find environment variables

I've came back to my project from a two week hiatus, and as always I started by bumping the dependencies. However, upon starting the vite dev server, I get prisma errors stating the environment variable is missing. Everything worked before, I haven't changed anything except the dependency bump. Also worth noting that the environment value is there, shown by the attached images.

dependency versions:
- "prisma": "^5.15.0"
+ "prisma": "^5.16.0"
- "vite": "^5.2.13"
+ "vite": "^5.3.1"
image.png
image.png
Solution
@SunStorm could you try bumping prisma and @prisma/client to 5.16.1? We believe this was a regression in 5.16.0
Was this page helpful?