From b13e74f808cc06b01fb2dc5a22253d06152dce35 Mon Sep 17 00:00:00 2001 From: Mike Yavorsky Date: Tue, 4 Jun 2024 21:12:37 -0400 Subject: [PATCH] use legacy openssl provider --- frontend/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 948b2ddb..889043e2 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,10 +4,10 @@ "private": true, "scripts": { "dev": "next dev", - "build:dev": "env-cmd -f .env.development next build && next export", - "build:stage": "env-cmd -f .env.staging next build && next export", - "build:prod": "env-cmd -f .env.production next build && next export", - "build:ui": "env-cmd -f .env.ui next build && next export", + "build:dev": "NODE_OPTIONS=--openssl-legacy-provider env-cmd -f .env.development next build && next export", + "build:stage": "NODE_OPTIONS=--openssl-legacy-provider env-cmd -f .env.staging next build && next export", + "build:prod": "NODE_OPTIONS=--openssl-legacy-provider env-cmd -f .env.production next build && next export", + "build:ui": "NODE_OPTIONS=--openssl-legacy-provider env-cmd -f .env.ui next build && next export", "lint": "next lint", "check-formatting": "prettier --check .", "prepare": "cd ${HOOKS_DIR:-..} && husky install frontend/.husky",