When running npm start
for the client
repo. It would fail with an error of Error: error:0308010C:digital envelope routines::unsupported
.
To resolve this, each time I cloned a repo I added --openssl-legacy-provider
to the "start"
script (which looked like this after adding it "start": "react-scripts --openssl-legacy-provider start",
.
Running npm start
after that change runs the application successfully.
This issue seems to trigger while using node version above 18 (specifically I am using 18.4.0
).
Is there documentation on which node version these repos should be run with?