P
Prisma4mo ago
fynn

Error validating datasource `db`: the URL must start with the protocol `prisma://`

Hey, I've just tried to deploy my Node-Project to a Coolify Instance, but now I'll get the above error. I have set the DATABASE_URL in the environment variables to this: postgresql://postgres:pass@ip:5432/postgres what could be the problem there? before, it worked fine.
2 Replies
RaphaelEtim
RaphaelEtim4mo ago
Hi @fynn Are you importing from @prisma/client/edge? If yes, can you import just the client @prisma/client and not the edge client?
skidy
skidy3w ago
what's the difference between them? when running on prisma.io for database, it tells me to use @prisma/client/edge for nextjs

Did you find this page helpful?