seva-the-food-sharing-app icon indicating copy to clipboard operation
seva-the-food-sharing-app copied to clipboard

Issue with OpenSSL compatibility in Node.js v21.6.1

Open Jayapriyan-m opened this issue 1 year ago • 0 comments

Description: I am encountering an issue related to OpenSSL compatibility while using Node.js version 21.6.1. When attempting to run my application, which relies on cryptographic operations, I receive the following error

Details:

Node.js version: 21.6.1 OpenSSL version: 3.0.12+quic

Error message: 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 (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\loader-runner\lib\LoaderRunner.js:221:10) C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\react-scripts\scripts\start.js:19 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 (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:417:16) at C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\webpack\lib\NormalModule.js:452:10 at C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at context.callback (C:\Users\JP\Desktop\seva-the-food-sharing-app\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at C:\Users\JP\Desktop\seva-the-food-sharing-app\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 v21.6.1

Steps to reproduce: Installed Dependencies [npm install] and ran the command npm start to start the development server . But it won't get started

Additional Information:

I have verified that Node.js v21.6.1 is using OpenSSL version 3.0.12+quic.

Expected Behavior: I expect the application to run without encountering cryptographic errors related to OpenSSL compatibility.

Screenshots: Screenshot (4)

Environment: Operating System: Windows 10

Note: I have searched through existing issues and have not found any similar reports. If this issue has already been addressed or if there are known workarounds, please point me in the right direction.

Thank you for your attention to this matter.

Jayapriyan-m avatar Feb 17 '24 03:02 Jayapriyan-m