Skip to content

Error on yarn start #137

@fhughes90

Description

@fhughes90

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

  • I do see this suggestion on the web
NODE_OPTIONS=--openssl-legacy-provider yarn dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions