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
Error: error:0308010C:digital envelope routines::unsupported when using Node 17 #12246
Comments
References: https://nodejs.org/en/blog/release/v17.0.0/ 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. For details about all the features in OpenSSL 3.0 please see the OpenSSL 3.0 release blog. |
Webpack issue with suggestion for v4 users |
Adding
fixes the webpack startup issue but it still does not work because loading localhost:8080 results in
The webpack server is running though and is responding on the very port that Java tries to connec to |
Maybe Node 17 should be marked as "not supported" for V14 in the meanwhile until this is fixed. After quickly looking at how it would be possible to "install node 16 to /.vaadin if node 17 is installed globally", but the code for this is all over the place and it seems far from trivial to do it. So maybe worthwhile to try to fix the node 17 issue instead. |
This ticket/PR has been released with platform 22.0.0.rc1 and is also targeting the upcoming stable 22.0.0 version. |
This ticket/PR has been released with platform 21.0.8. |
This ticket/PR has been released with platform 14.7.6. |
Description of the bug / feature
A Vaadin 14 application does not start is you are using Node 17
Minimal reproducible example
Expected behavior
The app starts
Versions:
The text was updated successfully, but these errors were encountered: