Node 17: Some unsupported OpenSSL3 error during internal crypto hashing
MaxGraey opened this issue · 1 comments
MaxGraey commented
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
alexander-akait commented
Duplicate webpack/webpack#14532