apps/docs/content/docs/postgres/troubleshooting.mdx
This guide helps resolve common issues when working with Prisma Postgres.
--db option is not recognized when running prisma initRunning the following command fails because the --db option is not recognized:
npx prisma init --db
This can occur due to npx caching. If you've previously run npx prisma init, your machine may be using an outdated cached version that doesn't recognize the --db flag because it was only introduced in a later version of Prisma ORM.
Explicitly run the latest Prisma CLI version:
npx prisma@latest init --db
This ensures that you're using the most up-to-date CLI, preventing issues with outdated command syntax.
prisma init --dbWhen running the command:
npx prisma@latest init --db
You may encounter the following error message in your logs:
Workspace plan limit reached for feature "Project".
Your default workspace project limit has been reached.
To resolve this issue, consider the following options:
Implementing one or more of these solutions should help you overcome the plan limit issue.