Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

digital envelope routines::unsupported #102

Open
peragethemte opened this issue Mar 20, 2024 · 1 comment
Open

digital envelope routines::unsupported #102

peragethemte opened this issue Mar 20, 2024 · 1 comment

Comments

@peragethemte
Copy link

Running npm start result in the following error:

Starting the development server...

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 (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:386:16)
    at handleParseError (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:434:10)
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:466:5
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:327:12
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at runSyncOrAsync (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
    at iterateNormalLoaders (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/scripts/start.js:11
  throw err;
  ^

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 (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:386:16)
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:418:10
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/webpack/lib/NormalModule.js:293:13
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /Users/perage/dev/POC/react1/ui5-webcomponents-sample-react/node_modules/babel-loader/lib/index.js:51:103 {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
@gregorwolf
Copy link

With the help of Error message "error:0308010C:digital envelope routines::unsupported" I've executed:

export NODE_OPTIONS=--openssl-legacy-provider

before npm start and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants