You can create the project with the following methods
- Expo-cli
npm i -g expo-cli expo project_name
- react-native-cli
npm i react-native-cli -g react-native init project_name
Sometimes you need to update the packages
npm uninstall -g react-native-cli npm uninstall -g react-native // then you need to install again npm install -g react-native-cli npm install -g react-native // if this is not working then run with --force // after this check the version npx react-native init Awsomeproject
- create-react-native-app
npm i create-react-native-app -g create-react-native-app project_name
Problems
Sometimes The gradle build throw an error of ( Tag mismatch ) then you have to rebuild the gradle
If then also you are facing the same error then you need a fast internet connection because this error is due to incomplete download of gradle files then you need to reinstall the files with a good internet connection