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
ERR_OSSL_EVP_UNSUPPORTED, Command PhaseScriptExecution failed with a nonzero exit code #1051
Comments
The same happen to me on
|
This issue is very likely related to this: https://stackoverflow.com/a/73027407/1167573 Upgrading the react-native project to the latest version of react-native should theoretically do the trick. Although, looking at the upgrade helper: https://react-native-community.github.io/upgrade-helper/?from=0.67.2&to=0.72.4 the required engine in package.json is still >=16 which doesn't ensure it's incompatible with node17 where the security fix took place. |
We changed Metro's hash function ( If you're stuck on an old version, either using Node 16 or Node 17+ with I'm going to close this because RN 0.67 is outside the support window and the root cause was fixed a while ago, but hopefully the above, and the context in #722, is helpful for folks on old versions. |
For those still stuck on an older RN version, the Android equivalent to the suggested Xcode patch above is to configure the
|
works with v0.63.4. thanks mate! |
I've used node version |
i was trying to fix this issue from last 3-4 days. Finally i fixed the issue with this solution. Thanks bro |
How you fixed that? #!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
export NODE_OPTIONS=--openssl-legacy-provider
# write your script here
find . -type l -exec test ! -e {} \; -delete
#.env update
replace_env_var () {
sed -i '' "s~$1=.*~$1=$2~g" .env
}
replace_env_var "ENV_DISPLAY_NAME" "v$EURECAB_EM_VERSION"
replace_env_var "API_USER_AGENT" "Eurecab/$EURECAB_EM_VERSION"
replace_env_var "BACKEND_HOST" "$EM_PROD_BACKEND_HOST"
replace_env_var "API_VERSION" "$EM_PROD_API_VERSION"
replace_env_var "ADYEN_ENV" "$EM_PROD_ADYEN_ENV"
replace_env_var "ADYEN_CLIENT_KEY" "$EM_PROD_ADYEN_CLIENT_KEY"
replace_env_var "ADYEN_ENCRYPTION_PUBLIC_KEY" "$EM_PROD_ADYEN_ENCRYPTION_PUBLIC_KEY"
replace_env_var "FIREBASE_PRODUCTION_PROJECT" "true"
replace_env_var "BACKEND_HOST_EDITABLE" "false"
replace_env_var "RECAPCTHA_DOMAIN" "$RECAPCTHA_DOMAIN_PROD"
replace_env_var "RECAPTCHA_KEY" "$RECAPTCHA_KEY_PROD" |
Hi I am using
react native@0.67.5
, it's an old project, but officially it's runningand I am continuously getting this error.
I have reinstalled project several times, cleared node modes several time
I google tried to find solution although , there I found I have to add
export NODE_OPTIONS=--openssl-legacy-provider
in~/.bashrc
and~/.zshrc
, Which I did. It worked forreact-native run-ios
andreact-native run-android
**but when I am trying to
build
fromXcode
or I am trying toarchive
project for test flight I am getting previous error again **I am facing this issue for several day's , but 3month earlier I was't getting this type of issue
The text was updated successfully, but these errors were encountered: