Skip to content

Commit 85f1061

Browse files
docs: orm init's two peer-dependency error rows link to the error reference
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
1 parent 84bb775 commit 85f1061

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/docs/content/docs/cli/orm-init.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ These are the common causes of exit code `2`:
245245
| [`CLI.INIT_CONTRIBUTION_UNAVAILABLE`](/orm/reference/error-reference#CLI.INIT_CONTRIBUTION_UNAVAILABLE) | The installed database library does not support `orm init`, or the part of it that `orm init` loads could not be loaded, for example because peer dependencies the package needs are not installed. The error says which. | None; the package stays installed | If peer dependencies are missing, install them with the command the error prints, then run `orm init` again. If the package could not be loaded for another reason, reinstall it and run `orm init` again. If the package does not support `orm init`, write `prisma.config.ts` by hand, as in [Config file](/cli/configuration#config-file), with the `defineConfig` import that the package's README shows. |
246246
| [`CLI.INIT_INVALID_OUTPUT_DOCUMENT`](/orm/reference/error-reference#CLI.INIT_INVALID_OUTPUT_DOCUMENT) | A bug in Prisma ORM: `orm init` finished, but its own report of what it did is malformed. | All of them | Report it on [GitHub](https://github.com/prisma/orm/issues) with the output of a run with `-v`. |
247247
| [`CLI.INIT_AUTHORING_UNSUPPORTED`](/orm/reference/error-reference#CLI.INIT_AUTHORING_UNSUPPORTED) | `--authoring` names a way to write the contract that the database library does not offer. | None; the package stays installed | Run it again with a value the error lists. Each package offers `psl`, `typescript`, or both. |
248-
| `CLI.INIT_REQUIRED_PEERS_NOT_INSTALLED` | With `--skip-install`, a peer dependency of the database library, such as `@prisma/orm-framework`, cannot be found from the project. The error lists the missing ones. | None | Run the command the error gives, which adds the missing ones, then run `orm init` again. |
249-
| `CLI.INIT_REQUIRED_PEERS_AT_ANOTHER_VERSION` | With `--skip-install`, a required peer dependency of the database library is installed at a version the library does not accept. The error gives the version found and the version required. | None | Install each package at the version the error requires, then run `orm init` again. |
248+
| [`CLI.INIT_REQUIRED_PEERS_NOT_INSTALLED`](/orm/reference/error-reference#CLI.INIT_REQUIRED_PEERS_NOT_INSTALLED) | With `--skip-install`, a peer dependency of the database library, such as `@prisma/orm-framework`, cannot be found from the project. The error lists the missing ones. | None | Run the command the error gives, which adds the missing ones, then run `orm init` again. |
249+
| [`CLI.INIT_REQUIRED_PEERS_AT_ANOTHER_VERSION`](/orm/reference/error-reference#CLI.INIT_REQUIRED_PEERS_AT_ANOTHER_VERSION) | With `--skip-install`, a required peer dependency of the database library is installed at a version the library does not accept. The error gives the version found and the version required. | None | Install each package at the version the error requires, then run `orm init` again. |
250250

251251
## After initialization
252252

0 commit comments

Comments
 (0)