When a build breaks, we say why.
Errors are explained in plain language with the fix beside them. Apply it here, or paste the explanation back to your coding agent.
prisma generate error: Environment variable not found: DATABASE_URL exit code 1
The build needs DATABASE_URL, but it is only set for the running app, not for the build.