Created
April 7, 2021 09:18
-
-
Save ps0305/eddc2fa194800c675788e38d04ce53ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf node_modules | |
rm -rf ios/Podfile.lock | |
rm -rf package.json.lock | |
npm install | |
npx jetify | |
npx patch-package | |
cd ios && pod install && cd .. | |
cd android && ./gradlew clean && cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clean cache
rm -rf $TMPDIR/react-; rm -rf $TMPDIR/haste-; rm -rf $TMPDIR/metro-*; watchman watch-del-all
Start React-Native directly
npx react-native start --reset-cache