Last active
October 8, 2017 11:52
-
-
Save duncan60/d69b8d8ae29386249f196e787631ce2d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| new method | |
| https://facebook.github.io/react-native/docs/upgrading.html | |
| // step 1 | |
| remove PROJECT/ios/build/ | |
| change package.json dependencies version | |
| // step 2 | |
| rm -fr $TMPDIR/react-* | |
| watchman watch-del-all | |
| //step 3 | |
| yarn cache clean && rm -rf node_modules/ && yarn | |
| //step 4 | |
| react-native upgrade | |
| // step 5 | |
| react-native link react-native-vector-icons | |
| //https://github.com/oblador/react-native-vector-icons/issues/135 | |
| //other | |
| yarn start -- --reset-cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment