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 dev-server fails to run with node 17.0.1+ #179

Open
felixfaire opened this issue Dec 26, 2021 · 0 comments
Open

Webpack dev-server fails to run with node 17.0.1+ #179

felixfaire opened this issue Dec 26, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@felixfaire
Copy link

This is a webpack 4 bug that is described here (second answer seems the most relevant). This issue is supposedly resolved in webpack 5.61.0+.

Steps to Reproduce

  1. Run the template (npm run start) with node 17.0.1 or higher installed

Expected Behavior

Template runs devserver without issue

Actual Behavior

This error causes the dev server to fail:

Error: digital envelope routines::unsupported

opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'

It appears this could be fixed by updating webpack to 5.61.0 or by enabling the --openssl-legacy-provider argument. Or at least making a note in the readme that the template will not work on node versions higher that 17.0.1.

@felixfaire felixfaire added the bug Something isn't working label Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant