Last active
August 27, 2017 17:37
-
-
Save Rockncoder/b51f074481736f96721e5fffef1e13ef to your computer and use it in GitHub Desktop.
The command line fix for the react native transform error.
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
yarn remove babel-preset-react-native | |
yarn add [email protected] | |
npm link #(babel-preset-react-native -- sometimes you may need to included the package) | |
rm -rf node_modules (PC delete node_modules directory) | |
npm install | |
react-native run-android |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment