Node 17+: 'error:0308010C:digital envelope routines::unsupported' (ERR_OSSL_EVP_UNSUPPORTED)
@devsingh05▲ 13 net votes
Old webpack 4 / create-react-app 4 builds use the MD4 hash, which OpenSSL 3 (Node 17+) disables. Best fix: upgrade react-scripts to 5 or move to Vite. Quick unblock: NODE_OPTIONS=--openssl-legacy-provider npm start (on Windows: set NODE_OPTIONS=--openssl-legacy-provider). Downgrading to Node 16 also works but Node 16 is end-of-life and deploy platforms reject it.