From fb616a90997c6fa5a3999f7bfa19dc6b38dbdcd3 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 13 Dec 2024 22:15:14 +0530 Subject: [PATCH] downgrade Node.js to version 16 (which uses OpenSSL 1.x) --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4d470ef..45b1df0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,7 +32,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '16' + # (ERR_OSSL_EVP_UNSUPPORTED) typically arises because Node.js is using OpenSSL 3.x, which has stricter defaults. Some libraries, such as webpack or older dependencies, may not yet be compatible with these stricter OpenSSL 3.x settings. + # NODE_OPTIONS=--openssl-legacy-provider ng deploy - name: Install dependencies run: npm ci