sb-clean-blog-angular icon indicating copy to clipboard operation
sb-clean-blog-angular copied to clipboard

Error: error:0308010C:digital envelope routines::unsupported

Open JuliusH93 opened this issue 1 year ago • 0 comments

Hello,

i followed the steps from the documentation:

git clone [email protected]:startbootstrap/sb-clean-blog-angular.git cd sb-clean-blog-angular npm install npm start

On starting i get this error:

[NG_SERVE] Error: error:0308010C:digital envelope routines::unsupported
[NG_SERVE]     at new Hash (node:internal/crypto/hash:68:19)
[NG_SERVE]     at Object.createHash (node:crypto:138:10)
[NG_SERVE]     at module.exports (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\util\createHash.js:135:53)
[NG_SERVE]     at NormalModule._initBuildHash (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\NormalModule.js:417:16)
[NG_SERVE]     at F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\NormalModule.js:452:10
[NG_SERVE]     at F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\NormalModule.js:323:13
[NG_SERVE]     at F:\Dev\codingblog\sb-clean-blog-angular\node_modules\loader-runner\lib\LoaderRunner.js:367:11
[NG_SERVE]     at F:\Dev\codingblog\sb-clean-blog-angular\node_modules\loader-runner\lib\LoaderRunner.js:203:19
[NG_SERVE]     at VirtualFileSystemDecorator.readFile (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\@ngtools\webpack\src\virtual_file_system_decorator.js:48:13)
[NG_SERVE]     at processResource (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\loader-runner\lib\LoaderRunner.js:202:11)
[NG_SERVE]     at iteratePitchingLoaders (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\loader-runner\lib\LoaderRunner.js:158:10)
[NG_SERVE]     at runLoaders (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\loader-runner\lib\LoaderRunner.js:365:2)
[NG_SERVE]     at NormalModule.doBuild (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\NormalModule.js:295:3)
[NG_SERVE]     at NormalModule.build (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\NormalModule.js:446:15)
[NG_SERVE]     at Compilation.buildModule (F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\Compilation.js:739:10)
[NG_SERVE]     at F:\Dev\codingblog\sb-clean-blog-angular\node_modules\webpack\lib\Compilation.js:981:14 {
[NG_SERVE]   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[NG_SERVE]   library: 'digital envelope routines',
[NG_SERVE]   reason: 'unsupported',
[NG_SERVE]   code: 'ERR_OSSL_EVP_UNSUPPORTED'

I am running node.js v20.9.0 on Windows 10.

How can i update the project to use the newest openssl?

Thanks in advance.

JuliusH93 avatar Nov 09 '23 18:11 JuliusH93