How to fix error:0308010c:digital envelope routines::unsupported?

diljitvirkz

New member
I keep encountering error:0308010c:digital envelope routines::unsupported when running my application, and it prevents it from executing properly. Has anyone else faced error:0308010c:digital envelope routines::unsupported? I’m looking for solutions or workarounds to resolve this error and get my program running smoothly.
 
The error 0308010c:digital envelope routines::unsupported usually occurs in Node.js 17+ with OpenSSL 3. Fix it by setting export NODE_OPTIONS=--openssl-legacy-provider in terminal or adding "NODE_OPTIONS": "--openssl-legacy-provider" in scripts before running the app.
 
Back
Top