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: error:0308010C:digital envelope routines::unsupported #19

Open
luane-aquino opened this issue Oct 24, 2023 · 6 comments
Open

Error: error:0308010C:digital envelope routines::unsupported #19

luane-aquino opened this issue Oct 24, 2023 · 6 comments

Comments

@luane-aquino
Copy link

luane-aquino commented Oct 24, 2023

Hi guys!

When I tried to deploy my portfolio in vercel (I also tried Netlify and gh-pages but same error) it showed this error in the build:
image

Locally it builds with success yarn run build.

I found a workaround though, it is to add --openssl-legacy-provider in react-scrips like this react-scripts --openssl-legacy-provider build. But it is not a good solution and does not address the root cause.

Does someone know what is causing and how to solve it?

@walerick
Copy link

walerick commented Oct 27, 2023

Hello Luane, I'm having a similar issue here also.
Could you give more details on using react-scripts --openssl-legacy-provider build?

@luane-aquino
Copy link
Author

sorry for the late reply. In the package.json i put the flag to disable openssl, like this:
image
it is just a workaround though

@desireetony
Copy link

im having the same problem but with npm
Screenshot 2023-12-16 104324

@selaa-online
Copy link

Any update on the above issue?

@seoseulbin
Copy link

I think npm too. I fixed with --openssl-legacy-provider too!!! thanks ...!!!!

@mayankagarwal09
Copy link
Owner

i have updated the dependencies and setup steps in readme. please try again with latest version and updated steps .

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

6 participants