From 48a5fb78737954d0d25610f5217f07ec84adacaa Mon Sep 17 00:00:00 2001 From: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:47:18 +0530 Subject: [PATCH 1/3] Added binaryTargets to fix openssl error Signed-off-by: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> --- prisma/schema.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 39b2d9988..db94e97e9 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -6,7 +6,7 @@ generator client { provider = "prisma-client-js" - //engineType = "binary" // if you using replit than use this engine type to fix errors + binaryTargets = ["native", "debian-openssl-3.0.x"] } datasource db { From 3e2fd54e0756b99c18f74faffea0d7e571150168 Mon Sep 17 00:00:00 2001 From: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:48:09 +0530 Subject: [PATCH 2/3] Added binaryTargets to fix openssl error Signed-off-by: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> --- prisma/example.postgresql.schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma/example.postgresql.schema.prisma b/prisma/example.postgresql.schema.prisma index 631e93f2b..ddce57a92 100644 --- a/prisma/example.postgresql.schema.prisma +++ b/prisma/example.postgresql.schema.prisma @@ -6,6 +6,7 @@ generator client { provider = "prisma-client-js" + binaryTargets = ["native", "debian-openssl-3.0.x"] } datasource db { From b6ce8b6512741ee68a831ccd025cd8422e716bf7 Mon Sep 17 00:00:00 2001 From: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> Date: Tue, 23 Apr 2024 17:48:54 +0530 Subject: [PATCH 3/3] Added binaryTargets to fix openssl error Signed-off-by: Twinkle069 <159515125+Twinkle069@users.noreply.github.com> --- prisma/example.mongodb.schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma/example.mongodb.schema.prisma b/prisma/example.mongodb.schema.prisma index f4836364f..e975312c3 100644 --- a/prisma/example.mongodb.schema.prisma +++ b/prisma/example.mongodb.schema.prisma @@ -6,6 +6,7 @@ generator client { provider = "prisma-client-js" + binaryTargets = ["native", "debian-openssl-3.0.x"] } datasource db {