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

Build error in Arch Linux #44

Open
zxp19821005 opened this issue Jun 16, 2023 · 0 comments
Open

Build error in Arch Linux #44

zxp19821005 opened this issue Jun 16, 2023 · 0 comments

Comments

@zxp19821005
Copy link

item notes
node version v20.3.0
npm version 8.19.2
OS EndeavourOS x86_64 6.1.34-1-lts
DE Cinnamon 5.8

npm install

$ npm install

added 230 packages, removed 253 packages, and changed 339 packages in 5s

6 packages are looking for funding
  run `npm fund` for details

npm run build

$ npm run build

> [email protected] build
> NODE_ENV=production webpack --config webpack.config.production.js --progress --profile --colors

 10% building 0/1 modules 1 active ....cache/paru/clone/todox/app/mainApp.jsxBrowserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
node:internal/crypto/hash:69
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/webpack/lib/NormalModule.js:401:16)
    at handleParseError (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/webpack/lib/NormalModule.js:452:10)
    at /home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/webpack/lib/NormalModule.js:484:5
    at /home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/webpack/lib/NormalModule.js:343:12
    at /home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /home/zxp-endeavouros/.cache/paru/clone/todox/node_modules/babel-loader/lib/index.js:55:71
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.3.0
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