Solved: digital envelope routines::unsupported

Shashank Sharma
1 min readOct 22, 2021

--

This is not a story but moreover a time saver guide for the developers.

ReactJS:

In React JS project, we need to change the scripts in the package.json:

From:

package.json [Before]

To:

package.json [After]

Angular:

In Angular project change the scripts in package.json

From:

package.json [Before]

To:

package.json [After]

But why we are doing this?

We are having this problem due to nodeJS version? webpack version? or is there any other reason.

In Node 17.0.0 or later, nodeJS introduced more node options and if you have updated your node version to the v17 or later, then you may get this issue. Most of the libraries and frameworks, uses webpack internally as dependency, and due to webpack we are getting this issue.

Issue Code: ERR_OSSL_EVP_UNSUPPORTED, which means Open SSL certificate legacy issue in the legacy version.

For developers: Please use Node LTS version which is recommended by the NodeJS also and if you are an advanced developer, then you can download the latest version.

Links for the reference:

  1. Node Option (Open SSL option, introduced in V17)
  2. Issue raised on Webpack github repo

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Shashank Sharma
Shashank Sharma

Responses (1)

Write a response