welovedevs / react-ultimate-resume

💼 🎨 A modern software developer resume built with React and JSONResume
https://welovedevs.com/react-ultimate-resume
GNU Affero General Public License v3.0
2.13k stars 625 forks source link

Error on `yarn start` #137

Open fhughes90 opened 1 year ago

fhughes90 commented 1 year ago

First time install for yarn pkg or create react app. I follow the documentation and get this error on yarn start

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

I thought maybe my nodejs was outdated so I ran brew upgrade node and get this version of nodejs

❯ node -v
v20.8.0

Any guidance where to start troubleshooting? Here are some more details about my setup.

Hardware: 2018 MacBook Pro, intel OS: macOS Sonoma 14.0 Yarn: 1.22.19

Recommendations

but I'm not sure how to apply this? Is this suppose to be in a .conf file somewhere?

abz98 commented 12 months ago

@fhughes90 This is an issue with OpenSSL. As Node upgraded to version 3.0, to mitigate this error, we can change the package.json start build script as follows: "scripts": { "start": "cross-env NODE_ENV=local react-scripts --openssl-legacy-provider start", } Can i raise a PR ?

fhughes90 commented 11 months ago

Oh, ok. Yes, you can raise a PR.