Error ERR_OSSL_EVP_UNSUPPORTED when running npm start with Node 20
Author: GspohuCreated Oct 11, 2023Updated Aug 16, 2024
Description:
When attempting to start the application using the npm start command, I encountered an error related to digital envelope routines, indicating something is "unsupported". Here's the complete error message:
Error: error:0308010C:digital envelope routines::unsupported
...
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'Steps to reproduce:
- Clone the repository from
https://github.com/ciaochaos/qrbtf.git. - Navigate to the project directory with
cd qrbtf. - Install dependencies with
npm install. - Run the application with
npm start.
Expected result: The application should start without errors.
Actual result:
The error ERR_OSSL_EVP_UNSUPPORTED is displayed, and the application fails to start.
Additional information: I am using Node version 20. It seems this error is related to the OpenSSL version used by Node.js. An update or configuration change might be needed.
Source: latentcat/qrbtf