Skip to content

Webpack building failed with ERR_OSSL_EVP_UNSUPPORTED  #41

@tango4567

Description

@tango4567
Starting the development server...

/Users/tarunmahajan/Projects/demo/node_modules/react-scripts/scripts/start.js:19
  throw err;
  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/Users/tarunmahajan/Projects/demo/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/tarunmahajan/Projects/demo/node_modules/webpack/lib/NormalModule.js:417:16)
    at /Users/tarunmahajan/Projects/demo/node_modules/webpack/lib/NormalModule.js:452:10
    at /Users/tarunmahajan/Projects/demo/node_modules/webpack/lib/NormalModule.js:323:13
    at /Users/tarunmahajan/Projects/demo/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /Users/tarunmahajan/Projects/demo/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/Users/tarunmahajan/Projects/demo/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /Users/tarunmahajan/Projects/demo/node_modules/react-scripts/node_modules/babel-loader/lib/index.js:59:103 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.0.1
error Command failed with exit code 1.

Referene:

  1. Github Nodejs
  2. Github Facebook
  3. Dev Conversation
  4. Stackoverflow
  5. Stackoverflow(Solution)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions