Node script issue
TaraRhoseyn opened this issue · comments
Tara commented
When forking this repo and running the start command, node errors out with code 'ERR_OSSL_EVP_UNSUPPORTED'.
Upon some research, I realised this is often an issue with using newer node versions.
To prevent the error from occurring, I changed two of the script commands from this (as is in your package.json):
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
}
To this:
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
}
This fixed the issue.