xxxxxxxxxx
// if you are using bash
// just run NODE_OPTIONS=--openssl-legacy-provider before any command
// else
// add NODE_OPTIONS=--openssl-legacy-provider to package.json
"scripts": {
"start": "SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start",
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts build"
},