-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_OSSL_EVP_UNSUPPORTED #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error ERR_OSSL_EVP_UNSUPPORTED has been mentioned in the release notes for Node.js 17.
If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application with Node.js 17, it’s likely that your application or a module you’re using is attempting to use an algorithm or key size which is no longer allowed by default with OpenSSL 3.0. A command-line option, --openssl-legacy-provider, has been added to revert to the legacy provider as a temporary workaround for these tightened restrictions.
is it the right solution ?
As a workaround solution you can fix this by using the legacy provider for openssl. So, you need to edit the package.json file under your application’s root directory and check for the following lines and replace them accordingly.
replace by
"start": "react-scripts --openssl-legacy-provider start"
replace by
"build": "react-scripts --openssl-legacy-provider build"
Source : https://roytuts.com/how-to-fix-err_ossl_evp_unsupported-in-react-js-application/
Should we update the solution to be used at least with Node.js 17 ? (i use v18.13.0)
The text was updated successfully, but these errors were encountered: