just do this Modify your package.json and add the NODE_OPTIONS setting in the scripts: For Windows users, modify it as:
"start": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", "build": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts build"
Then, try running:
npm start