-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
High-level description
when I type "npm run build" or "npm run test",it doesnt work
Steps to reproduce
Detailed behavior
at BulkUpdateDecorator.hashFactory (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/util/createHash.js:46:50)
at RawSource.updateHash (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack-sources/lib/RawSource.js:70:8)
at NormalModule._initBuildHash (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:880:17)
at handleParseResult (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:946:10)
at /Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:1040:4
at processResult (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:755:11)
at /Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:819:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
hanglok@hanglokdeMacBook-Air paraviewweb-master % clear
hanglok@hanglokdeMacBook-Air paraviewweb-master % npm run build
paraviewweb@0.0.0-semantically-release build
webpack --progress --mode development --devtool source-map
10% building 0/1 entries 1/1 dependencies 0/1 modulesBrowserslist: 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: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 BulkUpdateDecorator.hashFactory (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/util/createHash.js:46:50)
at OriginalSource.updateHash (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack-sources/lib/OriginalSource.js:138:8)
at NormalModule._initBuildHash (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:880:17)
at handleParseResult (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:946:10)
at /Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:1040:4
at processResult (/Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:755:11)
at /Users/hanglok/work/web/ParaView/paraviewweb-master/node_modules/webpack/lib/NormalModule.js:819:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.5.0
Expected behavior
Environment
- paraviewweb:
- OS:
- Browser: