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

How to fix Error: error:0308010C:digital envelope routines::unsupported error while working locally #7

Open
skuchibhotla opened this issue Oct 31, 2023 · 2 comments

Comments

@skuchibhotla
Copy link

I am getting this error when I run this front-end project using the command npm start with the back-end project reactnd-contacts-server2 running in the background.

Here's a snapshot of the stack-trace:

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/Users/skuchibhotla/Projects/React-Fundamentals-C1-React-Contacts/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/Users/skuchibhotla/Projects/React-Fundamentals-C1-React-Contacts/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/Users/skuchibhotla/Projects/React-Fundamentals-C1-React-Contacts/node_modules/webpack/lib/NormalModule.js:471:10)

Any kind of help is appreciated. Thank you:)

@skuchibhotla
Copy link
Author

skuchibhotla commented Oct 31, 2023

Running with npm 9.8.0 and node v20.5.0.

@skuchibhotla
Copy link
Author

I was able to fix this issue by updating the react-scripts version to ^5.0.1, like what was mentioned in the PR #5

Wanted to get this verified by anyone maintaining this repo.

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

1 participant