Skip to content

Node script issue #3

Description

@TaraRhoseyn

When forking this repo and running the start command, node errors out with code 'ERR_OSSL_EVP_UNSUPPORTED'.

Upon some research, I realised this is often an issue with using newer node versions.

To prevent the error from occurring, I changed two of the script commands from this (as is in your package.json):

"scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
}

To this:

"scripts": {
    "start": "react-scripts --openssl-legacy-provider start",
    "build": "react-scripts --openssl-legacy-provider build",
}

This fixed the issue.

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