Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

OpenSSL "digital envelope routines", "unsupported" #3832

Open
mysterybear opened this issue Sep 30, 2023 · 0 comments
Open

OpenSSL "digital envelope routines", "unsupported" #3832

mysterybear opened this issue Sep 30, 2023 · 0 comments

Comments

@mysterybear
Copy link

Description

I was just going through https://github.com/LN-Zap/zap-desktop/blob/master/docs/ADVANCED.md and ran yarn in the root of the repo

Expected Behavior

Complete errorlessly

Actual Behavior

This error:

yarn run v1.22.19
$ webpack -r @babel/register --config webpack/webpack.config.dll.js
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /home/tom/dev/remote/github.com/LN-Zap/zap-desktop/node_modules/graceful-fs/graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Your Environment

  • Zap version: 0.7.7-beta
  • Operating System and version: Node v18.15.0 on ArchLinux; OpenSSL 3.1.3 19 Sep 2023 (Library: OpenSSL 3.1.3 19 Sep 2023)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant