k6-template-typescript icon indicating copy to clipboard operation
k6-template-typescript copied to clipboard

Error message "error:0308010C:digital envelope routines::unsupported"

Open HedonisticOpportunist opened this issue 2 years ago • 1 comments

When it came to running the yarn webpack , I ran into the following error:

Error message "error:0308010C:digital envelope routines::unsupported"

I got it working by following a recommendation from the following answer posted on this StackOverFlow page.

Namely, I ran the following command export NODE_OPTIONS=--openssl-legacy-provider. Could we please update the ReadMe to reflect this?

FYI, I ran the tests on a MAC.

HedonisticOpportunist avatar Feb 21 '23 16:02 HedonisticOpportunist

Updating webpack also fixes it

"webpack": "5.76.1",
"webpack-cli": "5.0.1",

kvenn avatar Mar 14 '23 03:03 kvenn