Skip to content
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

Add work-around to ensure building works with Node.js 16+ #305

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Mar 17, 2023

Node.js 16+ supports dynamically linking with OpenSSL 3.0, however, that results in error:0308010C:digital envelope routines::unsupported error.

To work-around that with the legacy Webpack 4.0 we use, one needs to enable the OpenSSL 3.0 Legacy provider by setting:

NODE_OPTIONS=--openssl-legacy-provider

For more info, see:

Closes #304.

Node.js 16+ supports dynamically linking with OpenSSL 3.0, however, that
results in 'error:0308010C:digital envelope routines::unsupported' error.

To work-around that with the legacy Webpack 4.0 we use, one needs to
enable the OpenSSL 3.0 Legacy provider by setting:
NODE_OPTIONS=--openssl-legacy-provider

For more info, see:
- webpack/webpack#14532
- nodejs/node#40455
- nodejs/node#40948
@tjanez tjanez merged commit 28e3867 into master Mar 17, 2023
@tjanez tjanez deleted the tjanez/fix-building branch March 17, 2023 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building fails with "error:0308010C:digital envelope routines::unsupported"
2 participants