Last active
October 30, 2018 11:56
-
-
Save fiznool/077c6a580b3ca1ab5523a4275754d041 to your computer and use it in GitHub Desktop.
Fix React Native v0.57 third party dependencies
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
#!/usr/bin/env bash | |
# Fix the third party mess. Run this after a `npm/yarn` install. | |
# This has (hopefully) been addressed by https://github.com/facebook/react-native/pull/21458, | |
# but at the time of writing (17/10/18) has not been merged into an official RN release. | |
echo "Fixing React Native third party folder..." | |
rm -rf ~/.rncache | |
WD=$(pwd) | |
cd node_modules/react-native | |
rm -fr third-party | |
$WD/node_modules/react-native/scripts/ios-install-third-party.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment