Skip to content

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

Description

@JuliusH93

Hello,

i followed the steps from the documentation:

git clone git@github.com: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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions