We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbda820 commit c270780Copy full SHA for c270780
.changeset/fifty-lions-think.md
@@ -0,0 +1,5 @@
1
+---
2
+"trigger.dev": patch
3
4
+
5
+Improve prisma errors for missing postinstall
packages/cli-v3/src/commands/deploy.ts
@@ -639,6 +639,13 @@ function checkLogsForErrors(logs: string) {
639
docs.config.prisma
640
)}`,
641
},
642
+ {
643
+ regex: /@prisma\/client did not initialize yet/,
644
+ message: `Prisma client not initialized yet.\nDid you forget to add the postinstall script? ${cliLink(
645
+ "Config docs",
646
+ docs.config.prisma
647
+ )}`,
648
+ },
649
{
650
regex: /sh: 1: (?<packageOrBinary>.*): not found/,
651
message: `$packageOrBinary not found\n\nIf it's a package: Include it in ${cliLink(
0 commit comments