We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you are having an issue deploying on Netlify saying "bad option: --openssl-legacy-provider netlify", do the following:
1- change this on your package.json:
"scripts": { "start": "react-scripts --openssl-legacy-provider start", "build": "react-scripts build", } //ADD this in your script tag instead above one "scripts": { "build": "react-scripts build --openssl-legacy-provider", "start": "react-scripts start --openssl-legacy-provider", }
2- Install: npm install --legacy-peer-deps
3- Create a new environment variable on Netlify: Key name: NPM_FLAGS Value: --legacy-peer-deps
Source: https://answers.netlify.com/t/deploy-failed-today-build-was-terminated-build-script-returned-non-zero-exit-code-1/64450/2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you are having an issue deploying on Netlify saying "bad option: --openssl-legacy-provider netlify", do the following:
1- change this on your package.json:
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts build",
}
//ADD this in your script tag instead above one
"scripts": {
"build": "react-scripts build --openssl-legacy-provider",
"start": "react-scripts start --openssl-legacy-provider",
}
2- Install: npm install --legacy-peer-deps
3- Create a new environment variable on Netlify:
Key name: NPM_FLAGS
Value: --legacy-peer-deps
Source: https://answers.netlify.com/t/deploy-failed-today-build-was-terminated-build-script-returned-non-zero-exit-code-1/64450/2
The text was updated successfully, but these errors were encountered: