P
Prisma2w ago
DH

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
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
DH
DHOP2w ago
I see now that this is a known limitation... is it on the roadmap to support?
Optimize: Known limitations | Prisma Documentation
Learn about known limitations of Optimize.
Nurul
Nurul2w ago
Not on the immediate roadmap yet.

Did you find this page helpful?