You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repro: create a new game following the first-time-setup with node v18.
log:
npm start
> my-hex-engine-game@0.0.1 start
> hex-engine-scripts dev
Starting type checking service...
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /Users/user/workspace/test
ℹ 「wds」: 404s will fallback to /index.html
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/Users/user/workspace/test/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:471:10)
at /Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:503:5
at /Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:358:12
at /Users/user/workspace/test/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/Users/user/workspace/test/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/Users/user/workspace/test/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/Users/user/workspace/test/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:471:10)
at /Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:503:5
at /Users/user/workspace/test/node_modules/webpack/lib/NormalModule.js:358:12
at /Users/user/workspace/test/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/Users/user/workspace/test/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/Users/user/workspace/test/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.7.0
repro: create a new game following the first-time-setup with node v18.
log:
workaround:
export NODE_OPTIONS=--openssl-legacy-provider
reference: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported
The text was updated successfully, but these errors were encountered: