Description
This pops up after doing npm install --legacy-peer-deps.
Any advice?
PS D:\devPersonal\design-patterns-in-typescript> ng serve
Node.js version v21.2.0 detected.
Odd numbered Node.js versions will not enter LTS status and should not be used for production. For more information, please see https://nodejs.org/en/about/previous-releases/.
(node:23320) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
WARNING: Zone.js does not support native async/await in ES2017.
These blocks are not intercepted by zone.js and will not triggering change detection.
See: angular/zone.js#1140 for more information.
10% building 3/3 modules 0 active(node:23320) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
10% building 3/4 modules 1 active D:\devPersonal\design-patterns-in-typescript\node_modules\webpack-dev-server\client\index.js?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-nodenode:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\NormalModule.js:417:16)
at D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\NormalModule.js:452:10
at D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\NormalModule.js:323:13
at D:\devPersonal\design-patterns-in-typescript\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at D:\devPersonal\design-patterns-in-typescript\node_modules\loader-runner\lib\LoaderRunner.js:203:19
at VirtualFileSystemDecorator.readFile (D:\devPersonal\design-patterns-in-typescript\node_modules@ngtools\webpack\src\virtual_file_system_decorator.js:46:13)
at processResource (D:\devPersonal\design-patterns-in-typescript\node_modules\loader-runner\lib\LoaderRunner.js:202:11)
at iteratePitchingLoaders (D:\devPersonal\design-patterns-in-typescript\node_modules\loader-runner\lib\LoaderRunner.js:158:10)
at runLoaders (D:\devPersonal\design-patterns-in-typescript\node_modules\loader-runner\lib\LoaderRunner.js:365:2)
at NormalModule.doBuild (D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\NormalModule.js:295:3)
at NormalModule.build (D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\NormalModule.js:446:15)
at Compilation.buildModule (D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\Compilation.js:739:10)
at D:\devPersonal\design-patterns-in-typescript\node_modules\webpack\lib\Compilation.js:981:14 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v21.2.0