Fixes @prisma/client did not initialize yet. please run "prisma generate" and try to import it again. The error means the generated Prisma Client was never produced in this environment. Run npx…
Recovery and prevention after an agent ran prisma migrate dev against a shared staging database and wiped data URIs restoring from backup, and the guardrails that keep migrate dev off shared…
How to fix prisma Error P3015 "Could not find the migration file for a recorded migration": restoring the missing migration folder from version control, or marking the phantom migration rolled back…
Fixes Prisma P3014 'could not create the shadow database'. Use it when migrate dev or diff fails because the database user lacks CREATE DATABASE permission. Key trigger: P3014 on managed or…
Fixes Prisma P3009 'migrate found failed migrations' blocking all new migrations. Use it when _prisma_migrations holds failed rows from a died deploy. Key trigger: P3009 refusing to apply anything…
Fixes the confusion when prisma migrate diff says no-op but migrate deploy still has work to do. It explains that the two commands answer different questions - diff compares schema to database,…
Fixes Prisma migrations generated with the wrong CLI version when the agent's global CLI is newer than the project's pinned version. It shows how to detect the skew, switch to the project-local CLI,…
Fixes a Prisma migration blocked by a failed row in _prisma_migrations after a lost database connection. Use when migrate deploy refuses to run until the failed migration is resolved. Key trigger: a…
Fixes an agent that lost migration progress between sessions. Use when a new agent instance inherits a half-run migration plan and needs to know which steps finished. Key trigger: the database's…
Unsticks a headless agent blocked on prisma migrate dev's interactive database-reset prompt. Use it when migrate dev hangs waiting for a reset confirmation with no terminal to answer it. Key…
Teaches an agent how to reconcile Prisma's _prisma_migrations table after a timed-out migrate deploy so it can identify exactly which migrations landed before the connection died. Use when a CI…
Fixes Prisma schema validation failing inside the get-config wasm step. Use when prisma validate or generate fails with a wasm-flavored validation error, after upgrading Prisma versions, or when an…
Stops the prisma migrate dev loop where drift detection mistakes the shadow database for real drift. Use it when migrate dev keeps wanting to reset and re-running it never settles. Key trigger:…
Fixes Prisma's migrate deploy failing on the datasource.url error in CI or containers. Use when deploy pipelines hit this while migrate dev worked locally, when DATABASE_URL is not exported in the…
Fixes Prisma's migrate dev refusing to run because datasource.url is missing. Use when the CLI complains about the url property, when DATABASE_URL is not picked up from the env, or when an agent…
Fixes Prisma error P1012 'Prisma schema validation - (get-config wasm)', where the Prisma CLI rejects the schema because a datasource env variable like DATABASE_URL is missing or expands to an empty…
Fixes the Prisma error demanding a datasource url before db push runs. Use when prisma db push fails saying the datasource.url property is required, which means the schema datasource block has no…
Fixes Prisma P1012 schema validation errors that surface through the get-config wasm step. Use when prisma validate, generate, migrate, or db push fails with error code P1012 and a message about the…
Prisma Cloud Defenders need the Prisma NAT gateway IPs allowlisted or they cannot reach the Console. Before deploying Defenders, pull the Prisma Cloud NAT gateway IP list from the docs and add it to…
Shows how to fix prisma Memory Leak when using in NestJS app, reported by Jest. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Shows how to fix prisma Client could not locate the Query Engine for runtime rhel-openssl-3.0.x after SST v3.3.16 upgrade. Use it when you hit this exact problem. Skip it when your error message or…
Shows how to fix prisma Cloud twistcli scan fails pulling the image - check registry auth, URL, and tag. Use it when you hit this exact problem. Skip it when your error message or symptom looks…
Shows how to fix prisma Cloud scan fails: invalid credentials, wrong console URL, or exec format error. Use it when you hit this exact problem. Skip it when your error message or symptom looks…
Shows how to fix prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template. Use it when you hit this exact problem. Skip it when your error message or…
Shows how to fix prisma Cloud agentless scan not producing results - check the Agentless scan column and console logs. Use it when you hit this exact problem. Skip it when your error message or…