mayankagarwal09 / dev-portfolio

A fully customizable developer portfolio website made in react with dark mode support
https://dev-portfolio-mayankagarwal09.vercel.app
MIT License
249 stars 120 forks source link

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

Open luane-aquino opened 9 months ago

luane-aquino commented 9 months ago

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 commented 9 months ago

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 commented 8 months ago

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 commented 7 months ago

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

selaa-online commented 6 months ago

Any update on the above issue?

seoseulbin commented 6 months ago

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

mayankagarwal09 commented 5 months ago

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