Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node script issue #3

Open
TaraRhoseyn opened this issue Feb 2, 2024 · 0 comments
Open

Node script issue #3

TaraRhoseyn opened this issue Feb 2, 2024 · 0 comments

Comments

@TaraRhoseyn
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant