From e6f5773aacdb87366dbc44e93f68692b8b696aa4 Mon Sep 17 00:00:00 2001 From: Aniruddha Ghosh Date: Fri, 4 Aug 2023 10:33:00 +0530 Subject: [PATCH] OpenSSL Error Fix --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bb78383d8..08397f588 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,13 @@ ], "license": "MIT", "scripts": { - "build": "gatsby build", + "build": "export SET NODE_OPTIONS=--openssl-legacy-provider && gatsby build", "develop": "gatsby develop", "format": "prettier --write \"**/*.{js,jsx,json,md}\"", - "start": "npm run develop", - "serve": "gatsby serve", + "start": "export SET NODE_OPTIONS=--openssl-legacy-provider && npm run develop", + "serve": "export SET NODE_OPTIONS=--openssl-legacy-provider && gatsby serve", "clean": "gatsby clean", - "deploy": "gatsby build && gh-pages -d public -b main" + "deploy": "export SET NODE_OPTIONS=--openssl-legacy-provider && gatsby build && gh-pages -d public -b main" }, "husky": { "hooks": {