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

Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED #917

Closed
Reptarsrage opened this issue Oct 20, 2021 · 1 comment
Closed

Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED #917

Reptarsrage opened this issue Oct 20, 2021 · 1 comment

Comments

@Reptarsrage
Copy link
Contributor

I'm submitting a bug report

Node Version:
17.0.0

Webpack Version:
5.58.2

Babel Core Version:
7.15.8

Babel Loader Version:
8.2.2

Please tell us about your environment:
Windows 11

Current behavior:
Webpack build fails:

Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at filename (node_modules\babel-loader\lib\cache.js:94:23)
    at node_modules\babel-loader\lib\cache.js:120:39
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (node_modules\babel-loader\lib\cache.js:3:103)   
    at _next (node_modules\babel-loader\lib\cache.js:5:194)
    at node_modules\babel-loader\lib\cache.js:5:364
    at new Promise (<anonymous>)
    at node_modules\babel-loader\lib\cache.js:5:97

Expected/desired behavior:
Webpack build should succeed with no errors

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration.
    This happens after upgrading to latest node version 17.0.0.

  • What is the expected behavior?
    WEbpack build should complete without errors.

  • What is the motivation / use case for changing the behavior?
    The code should work on the latest node version.

@JLHwung
Copy link
Contributor

JLHwung commented Oct 21, 2021

Fixed in #918

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