Where:
Script ‘/Users/cekesa/Desktop/vehicle-app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle’ line: 397
- What went wrong:
A problem occurred evaluating script.
Could not find method exec() for arguments [ReactNativeModules$_getCommandOutput_closure16@f684b2e] on object of type org.gradle.api.internal.provider.DefaultProviderFactory_Decorated.
- Try:
Run with –stacktrace option to get the stack trace.
Run with –info or –debug option to get more log output.
Run with –scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 2m 10s
I have tried to update my react-native dependancies but still encountering the same error
Clinton Ekesa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.