When I run npm start on Node.js v22, the React app fails to start with an OpenSSL error.
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
...
Node.js v22.14.0
Environment
OS: Windows 10
Node.js: v22.14.0
npm: v10.x
react-scripts: 3.0.1
react: 16.8.6
Steps to Reproduce
Clone the repo
Run npm install
Run npm start
Observe the crash
Expected Behavior
Development server should start normally at http://localhost:3000/.
Actual Behavior
Throws Error: error:0308010C:digital envelope routines::unsupported.