Skip to content

OpenSSL error with newer Node version #3

@ncseffai

Description

@ncseffai

When you try to run or build the application, you will receive the following error:

Error: digital envelope routines::unsupported

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

Possible cause of error can be found in this discussion: https://stackoverflow.com/questions/69665222/node-js-17-0-1-gatsby-error-digital-envelope-routinesunsupported-err-os

WORKAROUND:
Modified the package.json file
"app:start": "react-scripts --openssl-legacy-provider start",
"app:build": "react-scripts --openssl-legacy-provider build",
"app:test": "react-scripts --openssl-legacy-provider test",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions