Sometimes, You may come across this error when you run Android version of your React Native project. The React Native error will be like this: A problem occured evaluating project ‘:app‘. Could not read script ‘…/node_modules/react-native/react.gradle’ as it does not exist.
This happens while you cloning your project and trying to run the project. The solution is simple just run command npm install in your project folder.