Table of Contents
Nodejs ERR_OSSL_EVP_UNSUPPORTED
Err info
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
command terminated with exit code 1
Fix Nodejs ERR_OSSL_EVP_UNSUPPORTED
I had this problem too. I'd accidentally been running on the latest Node.js (17.0 at time of writing), not the LTS version (14.18) which I'd meant to install. Downgrading my Node.js install to the LTS version fixed the problem for me.
Then I:
- Uninstall my current NodeJS
node-v18.12.1-x64.msi
- Delete npm folder in
AppData\Roaming\npm
- Install NodeJs 16
node-v16.13.0-x64.msi
YOU MUST INSTALL NodeJs 16 to fix ERR_OSSL_EVP_UNSUPPORTED, i haven't found another way, if you have another way please comment just me. Thank you
Well, everything is Ok again 😊
References
https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported