From 53a603f20e6a63fc31729563356ee8c1d123f440 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sun, 15 Dec 2024 16:07:07 +0200 Subject: [PATCH] ry fixing npm prisma --- _deploy/deoloy.azure.staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_deploy/deoloy.azure.staging.yml b/_deploy/deoloy.azure.staging.yml index 390da17..124cafa 100644 --- a/_deploy/deoloy.azure.staging.yml +++ b/_deploy/deoloy.azure.staging.yml @@ -16,7 +16,7 @@ services: - GIT_USERNAME=deploy - GIT_PASSWORD=L3Kr2R438u4F7 - ADMIN_PASSWORD=kolichkisofia2024 - command: sh -c " cd /app && npm install && npx next build && npx prisma migrate deploy && npx prisma generate && npm run start-env; tail -f /dev/null" + command: sh -c " cd /app && npm install && npm uninstall @prisma/client prisma && npm install @prisma/client@5.22.0 prisma@5.22.0 && npx next build && npx prisma migrate deploy && npx prisma generate && npm run start-env; tail -f /dev/null" tty: true stdin_open: true restart: always