Doddlin
PPrisma
•Created by Doddlin on 5/9/2025 in #help-and-questions
I upgraded to version 6.7.0 (not expected) and now env is not workin
I literally ran pnpm add chart.js and all my packages upgraded, part of those were Prisma to 6.7.0 and now it just can't read my env("DATABASE_URL") and claims that it is not set and therefor defaulting to localhost. It worked a minute ago, but no matter how much I restart the server or do prisma generate I get same error:
[Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: didrikbirkemalm, db: didrikbirkemalm, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.] {
clientVersion: '6.7.0',
digest: '3846124726'
}
3 replies