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

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

Open
kabirjaipal opened this issue Oct 30, 2022 · 3 comments
Open

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

kabirjaipal opened this issue Oct 30, 2022 · 3 comments

Comments

@kabirjaipal
Copy link

i am facing this error when i run the code

techboy:express-jsx$ npm run dev

> express-jsx@1.0.0 dev
> node server.js

> Ready on http://localhost:3000
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

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 (/media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/webpack/lib/NormalModule.js:471:10)
    at /media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/webpack/lib/NormalModule.js:503:5
    at /media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/webpack/lib/NormalModule.js:358:12
    at /media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Function.<anonymous> (/media/techboy/20121DFB121DD69E/Programing/coding/Codes/NPM PACKAGES/express-jsx/node_modules/loader-runner/lib/LoaderRunner.js:205:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.12.0
@adamzerner
Copy link

@kabirjaipal
Copy link
Author

thanks

@adamzerner
Copy link

No problem! Would you like to close the issue if it was resolved?

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