close

[Solved] Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported

Hello Guys, How are you all? Hope You all Are Fine. Today I just updated my node to latest version. But As I updated to latest version my Project give me following error while building Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported in node. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported Error Occurs ?

I just updated my node to latest version. But As I updated to latest version my Project give me following error while building.

Failed to construct transformer:  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'

How To Solve Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported Error ?

  1. How To Solve Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported Error ?

    To Solve Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported Error Simplest and easiest solution is Just downgrade node to v14.18.1. And then Just delete node_modules and then try to rebuild your project and your error must be solved.

  2. Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported

    To Solve Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported Error Simplest and easiest solution is Just downgrade node to v14.18.1. And then Just delete node_modules and then try to rebuild your project and your error must be solved.

Solution 1: downgrade node to v14.18.1

Simplest and easiest solution is Just downgrade node to v14.18.1. And then Just delete node_modules and then try to rebuild your project and your error must be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

  • error: TypeError: Cannot read properties of undefined (reading ‘transformFile’)
Please Rate Our Solution to Motivate Us For Give Our Best

2 thoughts on “[Solved] Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported”

  1. Hi guys,

    I sugest another solution for lastests node.js versions:
    Set a environment variable “NODE_OPTIONS” with value “–openssl-legacy-provider”

    Command in powershell:
    $Env:NODE_OPTIONS = “–openssl-legacy-provider”

    Regards,
    Luis

    Reply

Leave a Comment