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

ERR_OSSL_EVP_UNSUPPORTED #212

Open
Wladefant opened this issue Jul 6, 2024 · 1 comment
Open

ERR_OSSL_EVP_UNSUPPORTED #212

Wladefant opened this issue Jul 6, 2024 · 1 comment

Comments

@Wladefant
Copy link

Problem

When setting up frontend after running npm run start the error below shows afer starting the development server

Error

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/wladefant/development/chatbot-core/frontend/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/wladefant/development/chatbot-core/frontend/node_modules/webpack/lib/NormalModule.js:417:16)
    at /home/wladefant/development/chatbot-core/frontend/node_modules/webpack/lib/NormalModule.js:452:10
    at /home/wladefant/development/chatbot-core/frontend/node_modules/webpack/lib/NormalModule.js:323:13
    at /home/wladefant/development/chatbot-core/frontend/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/wladefant/development/chatbot-core/frontend/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/home/wladefant/development/chatbot-core/frontend/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /home/wladefant/development/chatbot-core/frontend/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 v18.20.3

Temp Solution

export NODE_OPTIONS=--openssl-legacy-provider

@La100
Copy link

La100 commented Jul 8, 2024

You can modify your package.json in frontend
"scripts": {
"start": "react-scripts --openssl-legacy-provider start"
}

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