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

yarn build fails without NODE_OPTIONS=--openssl-legacy-provider #84

Open
d3xt3r01 opened this issue Jul 26, 2023 · 0 comments
Open

yarn build fails without NODE_OPTIONS=--openssl-legacy-provider #84

d3xt3r01 opened this issue Jul 26, 2023 · 0 comments

Comments

@d3xt3r01
Copy link

d3xt3r01 commented Jul 26, 2023

/plugin-conference # node --version
v18.17.0
/plugin-conference # yarn build
yarn run v1.22.19
$ webpack
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/plugin-conference/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/plugin-conference/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/plugin-conference/node_modules/webpack/lib/NormalModule.js:471:10)
    at /plugin-conference/node_modules/webpack/lib/NormalModule.js:503:5
    at /plugin-conference/node_modules/webpack/lib/NormalModule.js:358:12
    at /plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at runSyncOrAsync (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
    at iterateNormalLoaders (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/plugin-conference/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /plugin-conference/node_modules/babel-loader/lib/index.js:59:71
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Done in 2.27s.

This works

/plugin-conference # NODE_OPTIONS=--openssl-legacy-provider yarn build
yarn run v1.22.19
$ webpack
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Hash: 02073f38384e0c66df52
Version: webpack 4.42.1
Time: 2010ms
Built at: 07/26/2023 10:04:45 PM
               Asset      Size  Chunks             Chunk Names
plugin-conference.js  30.4 KiB       0  [emitted]  main
Entrypoint main = plugin-conference.js
 [6] (webpack)/buildin/module.js 497 bytes {0} [built]
 [7] (webpack)/buildin/global.js 472 bytes {0} [built]
[14] ./src/plugin.js + 17 modules 26.5 KiB {0} [built]
     | ./src/plugin.js 3.2 KiB [built]
     | ./src/config.js 3.58 KiB [built]
     |     + 16 hidden modules
    + 12 hidden modules
Done in 2.76s.
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

1 participant