Skip to content

Instantly share code, notes, and snippets.

@duncan60
Last active October 8, 2017 11:52
Show Gist options
  • Select an option

  • Save duncan60/d69b8d8ae29386249f196e787631ce2d to your computer and use it in GitHub Desktop.

Select an option

Save duncan60/d69b8d8ae29386249f196e787631ce2d to your computer and use it in GitHub Desktop.
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