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

(Solution) Build with node +17.x (ERR_OSSL_EVP_UNSUPPORTED) #51

Closed
Altffenser opened this issue Oct 18, 2022 · 2 comments
Closed

(Solution) Build with node +17.x (ERR_OSSL_EVP_UNSUPPORTED) #51

Altffenser opened this issue Oct 18, 2022 · 2 comments

Comments

@Altffenser
Copy link

For build as espected in repository documentation with node 17.x or or higher (I have 18.5) just put this code fragment in package.json to build successfully.

SET NODE_OPTIONS=--openssl-legacy-provider

It should look as follows.

"start": "SET NODE_OPTIONS=--openssl-legacy-provider && docusaurus start",

This solves problems with "digital envelope routines" and prevents the error in title.

opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
@pritam1309
Copy link
Contributor

can you plz merge my pull request #52 with appropriate tags : )

@hulyak
Copy link
Owner

hulyak commented Oct 25, 2022

Thank you. I've merged the PR

@hulyak hulyak closed this as completed Oct 25, 2022
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

No branches or pull requests

3 participants