Prisma optimize in a project using the neon adapter fails on Env variable not found: DATABASE_URL
The neon setup works fine, but once I add optimize, I get this error:
The error:
PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL.
3 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai
is there if you need a quick second opinion.Optimize: Known limitations | Prisma Documentation
Learn about known limitations of Optimize.
Not on the immediate roadmap yet.