jsonld-signatures-bbs
jsonld-signatures-bbs copied to clipboard
Cannot run sample
I'm encountering the following error when try to run the browser sample
(node:44855) [DEP_WEBPACK_DEV_SERVER_CONSTRUCTOR] DeprecationWarning: Using 'compiler' as the first argument is deprecated. Please use 'options' as the first argument and 'compiler' as the second argument.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:44855) [DEP_WEBPACK_DEV_SERVER_LISTEN] DeprecationWarning: 'listen' is deprecated. Please use the async 'start' or 'startCallback' method.
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:8080/
<i> [webpack-dev-server] On Your Network (IPv4): http://49.127.95.189:8080/
<i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/
<i> [webpack-dev-server] Content not from webpack is served from '/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/public' directory
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:133:10)
at module.exports (/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/webpack/lib/NormalModule.js:471:10)
at /Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/webpack/lib/NormalModule.js:503:5
at /Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/webpack/lib/NormalModule.js:358:12
at /Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/Users/tday0004/Work/Code/jsonld-signatures-bbs/sample/browser/node_modules/loader-runner/lib/LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.17.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.