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 Envelopes Routine Library is unsupported #115

Open
gaurav1021 opened this issue Jun 6, 2023 · 3 comments
Open

Digital Envelopes Routine Library is unsupported #115

gaurav1021 opened this issue Jun 6, 2023 · 3 comments

Comments

@gaurav1021
Copy link

Starting the development server...

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:412:16)
at handleParseError (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:463:10)
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:495:5
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:354:12
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:43:16)
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:79:9
C:\Users\gaura\projects\project_chat_application-master\client\node_modules\react-scripts\scripts\start.js:19
throw err;
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:412:16)
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:444:10
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\webpack\lib\NormalModule.js:320:13
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\gaura\projects\project_chat_application-master\client\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\Users\gaura\projects\project_chat_application-master\client\node_modules\babel-loader\lib\index.js:55:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.12.1

@kabudaLiu
Copy link

node 版本切换到 14.0.0
同时删除package-lock。json与node_modules

@MashhadLeghari
Copy link

setup environment variable in client/package.json or in terminal as: set NODE_OPTIONS=--openssl-legacy-provider
Screenshot_20230923_110401

@venkateshatgit
Copy link

I faced same error. I did 2 changes which made my code run.

change 1:
image

change 2: installing react version 5 -> deleting node_module -> npm cache clean -> npm install

This made the application run.
Hope this helped.

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

4 participants