Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error:0308010C:digital envelope routines::unsupported (deprecated md4) #19

Open
waclaw66 opened this issue May 25, 2022 · 1 comment
Open

Comments

@waclaw66
Copy link

Could you please bump webpack (>=5.54.0) to get rid of following error?

(node:298825) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Starting the development server...
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/usr/local/jsonata-exerciser/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/usr/local/jsonata-exerciser/node_modules/webpack/lib/NormalModule.js:386:16)
    at handleParseError (/usr/local/jsonata-exerciser/node_modules/webpack/lib/NormalModule.js:434:10)
    at /usr/local/jsonata-exerciser/node_modules/webpack/lib/NormalModule.js:466:5
    at /usr/local/jsonata-exerciser/node_modules/webpack/lib/NormalModule.js:327:12
    at /usr/local/jsonata-exerciser/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/usr/local/jsonata-exerciser/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/usr/local/jsonata-exerciser/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
/usr/local/jsonata-exerciser/scripts/start.js:11
  throw err;
  ^

using Fedora 36, node v16.14.0, OpenSSL 3.0.2

@jscottsf
Copy link

Can be worked around by using:

NODE_OPTIONS=--openssl-legacy-provider npm run start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants