Last active
October 21, 2018 07:23
-
-
Save Tahmeed156/c42f5b87376643fa120c8a1d8dd70ba0 to your computer and use it in GitHub Desktop.
Upgrading node modules in react native -- React native 0.56 has bugs
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
Performed an upgrade and faced some issues | |
yarn upgrade // updates everything | |
Use these versions | |
"react": "16.4.1" | |
"react-native": "0.55.4" // issues with the latest 0.56 | |
"babel-preset-react-native": "4.0.0" | |
"babel-core": "6.26.3" | |
babel-loader": "7.1.5" | |
To install packages | |
yarn add react-native@0.55.4 | |
... | |
or latest versions | |
yarn add babel-core@latest | |
P.S. I used the latest version for babel-core, babel-loader and upgrade for react |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment