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

Intel Mac build error: Digital Envelope Routines Unsupported #51

Open
robrecord opened this issue Jul 31, 2023 · 1 comment
Open

Intel Mac build error: Digital Envelope Routines Unsupported #51

robrecord opened this issue Jul 31, 2023 · 1 comment

Comments

@robrecord
Copy link

robrecord commented Jul 31, 2023

When attempting to build a package on Intel Mac from the latest commit on master branch, using instructions provided, the build fails:

> [email protected] package
> cross-env USE_HARD_LINKS=false NODE_OPTIONS='--max_old_space_size=8096' npm run build && electron-builder build --win --x64 --dir=build


> [email protected] build
> concurrently "npm run build-main"  "npm run build-renderer"

[0]
[0] > [email protected] build-main
[0] > webpack --config webpack/main.config.js
[0]
[1]
[1] > [email protected] build-renderer
[1] > webpack --config webpack/renderer.prod.config.js
[1]
[1] Error: error:0308010C:digital envelope routines::unsupported
[1]     at new Hash (node:internal/crypto/hash:69:19)
[1]     at Object.createHash (node:crypto:138:10)
[1]     at module.exports (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/util/createHash.js:135:53)
[1]     at NormalModule._initBuildHash (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:417:16)
[1]     at handleParseError (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:471:10)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:503:5
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:358:12
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
[1]     at runSyncOrAsync (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
[1]     at Array.<anonymous> (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
[1]     at Storage.finished (/Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/graceful-fs/graceful-fs.js:123:16
[1]     at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3)
[1] /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:133
[1]             if(isError) throw e;
[1]                         ^
[1]
[1] Error: error:0308010C:digital envelope routines::unsupported
[1]     at new Hash (node:internal/crypto/hash:69:19)
[1]     at Object.createHash (node:crypto:138:10)
[1]     at module.exports (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/util/createHash.js:135:53)
[1]     at NormalModule._initBuildHash (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:417:16)
[1]     at handleParseError (/Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:471:10)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:503:5
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:358:12
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
[1]     at context.callback (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
[1]     at makeSourceMapAndFinish (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:58:5)
[1]     at successLoader (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:40:5)
[1]     at Object.loader (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:23:5)
[1]     at LOADER_EXECUTION (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
[1]     at runSyncOrAsync (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
[1]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
[1]     at Array.<anonymous> (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
[1]     at Storage.finished (/Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
[1]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/graceful-fs/graceful-fs.js:123:16
[1]     at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
[1]   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[1]   library: 'digital envelope routines',
[1]   reason: 'unsupported',
[1]   code: 'ERR_OSSL_EVP_UNSUPPORTED'
[1] }
[1]
[1] Node.js v20.5.0
[1] npm run build-renderer exited with code 1
[0] /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:133
[0]             if(isError) throw e;
[0]                         ^
[0]
[0] Error: error:0308010C:digital envelope routines::unsupported
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:503:5
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/webpack/lib/NormalModule.js:358:12
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
[0]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
[0]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:236:3
[0]     at context.callback (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
[0]     at makeSourceMapAndFinish (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:58:5)
[0]     at successLoader (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:40:5)
[0]     at Object.loader (/Users/username/Code/ThirdParty/3Speak-app/node_modules/ts-loader/dist/index.js:23:5)
[0]     at LOADER_EXECUTION (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
[0]     at runSyncOrAsync (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
[0]     at iterateNormalLoaders (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
[0]     at Array.<anonymous> (/Users/username/Code/ThirdParty/3Speak-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
[0]     at Storage.finished (/Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
[0]     at /Users/username/Code/ThirdParty/3Speak-app/node_modules/graceful-fs/graceful-fs.js:123:16
[0]     at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
[0]   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[0]   library: 'digital envelope routines',
[0]   reason: 'unsupported',
[0]   code: 'ERR_OSSL_EVP_UNSUPPORTED'
[0] }
[0]
[0] Node.js v20.5.0
[0] npm run build-main exited with code 1
@vaultec81
Copy link
Member

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

2 participants