Closed weird-oecophylla closed 7 months ago
https://github.com/altence/lightence-ant-design-react-template/blob/main/package.json#L122-L124
add this option to your node environment and it will on v21.
--openssl-legacy-provider
``
Getting same issue, @weird-oecophylla have you find any resolution on this?
I got the same error after upgrading my Node.js to v20.11.0. The error is caused by Node.js v17 fixing a security hole in the SSL provider, see https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported. Most answers in this post suggest to downgrade Node.js to v16. But obviously it's not a good idea.
After several tries, this works for me (I am using Ubuntu 22):
export NODE_OPTIONS==--openssl-legacy-provider
yarn install
yarn start
The following configuration worked for bypassing ssl errors.
Problem solved !
Using yarn install and then yarn start as mentioned in readme does not work.
I obtain the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior Successfull yarn start