Skip to content

Commit 12dbd7c

Browse files
committed
chore: install prisma/client-runtime-utils
we have a runtime lint/typecheck issue where tsc can't resolve the type properly. refer to this issue: prisma/prisma#28581 (comment), where the problem exists due to symlinks used by pnpm to link to packages. to avoid this, we have to install the required prisma package at the package's top level
1 parent 6718017 commit 12dbd7c

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

packages/db/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"dependencies": {
4242
"@prisma/adapter-pg": "catalog:prisma",
4343
"@prisma/client": "catalog:prisma",
44+
"@prisma/client-runtime-utils": "catalog:prisma",
4445
"@t3-oss/env-core": "catalog:t3-env",
4546
"kysely": "^0.28.8",
4647
"pg": "^8.16.3",

pnpm-lock.yaml

Lines changed: 16 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ catalogs:
2424
'@prisma/adapter-pg': ^7.0.0
2525
'@prisma/client': ^7.0.0
2626
prisma: ^7.0.0
27+
'@prisma/client-runtime-utils': '^7.0.1'
2728
react-query5:
2829
'@tanstack/react-query': ^5.90.8
2930
'@tanstack/react-query-devtools': ^5.90.2

0 commit comments

Comments
 (0)