Improve prisma errors for missing generate step
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"trigger.dev": patch
|
||||
---
|
||||
|
||||
Improve prisma errors for missing postinstall
|
||||
@@ -639,6 +639,13 @@ function checkLogsForErrors(logs: string) {
|
||||
docs.config.prisma
|
||||
)}`,
|
||||
},
|
||||
{
|
||||
regex: /@prisma\/client did not initialize yet/,
|
||||
message: `Prisma client not initialized yet.\nDid you forget to add the postinstall script? ${cliLink(
|
||||
"Config docs",
|
||||
docs.config.prisma
|
||||
)}`,
|
||||
},
|
||||
{
|
||||
regex: /sh: 1: (?<packageOrBinary>.*): not found/,
|
||||
message: `$packageOrBinary not found\n\nIf it's a package: Include it in ${cliLink(
|
||||
|
||||
Reference in New Issue
Block a user