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

Node 17: Some unsupported OpenSSL3 error during internal crypto hashing #3012

Closed
MaxGraey opened this issue Oct 20, 2021 · 1 comment
Closed
Labels

Comments

@MaxGraey
Copy link

MaxGraey commented Oct 20, 2021

On latest node.js I got some internal unsupported OpenSSL3 error during hashing
stack trace:

[webpack-cli] Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at BulkUpdateDecorator.hashFactory (<project-path>/node_modules/webpack/lib/util/createHash.js:155:18)
    at BulkUpdateDecorator.digest (/<project-path>/node_modules/webpack/lib/util/createHash.js:80:21)
    at <project-path>/node_modules/webpack/lib/DefinePlugin.js:595:38
    at _next32 (eval at create (<project-path>/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:42:1)
    at _next10 (eval at create (<project-path>/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:97:1)
    at Hook.eval [as call] (eval at create (<project-path>/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:121:1)
    at Hook.CALL_DELEGATE [as _call] (<project-path>/node_modules/tapable/lib/Hook.js:14:14)
    at Compiler.newCompilation (<project-path>/node_modules/webpack/lib/Compiler.js:1053:26) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'

webpack: 5.59.0
webpack-cli: 4.9.1

@MaxGraey MaxGraey added the Bug label Oct 20, 2021
@alexander-akait
Copy link
Member

Duplicate webpack/webpack#14532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants