iOS and Android app bundle failure
See original GitHub issueEnvironment: MacBook Pro Xcode v9.4 CLI v9.4 both Android and iOS app
Sept. 29/2018 Error when installing RN app with native code(react-native init AwesomeProject) and attempting to load the app with iOS simulator or Android device. I also followed the steps to resolve the issue, but still the same problem. This is not an older project but a new one.
.babelrc
{ "presets": ["module:metro-react-native-babel-preset"] }
package.json
{ "name": "sandboxios", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "react": "16.5.0", "react-native": "0.57.1" }, "devDependencies": { "babel-jest": "23.6.0", "jest": "23.6.0", "metro-react-native-babel-preset": "0.47.0", "react-test-renderer": "16.5.0" }, "jest": { "preset": "react-native" } }
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Sane issue here, clean install today: OSX Mojave 10.14 , Xcode 10.0, node v10.11.0
brew update brew install watchman brew install yarn --without-node https://github.com/creationix/nvm#git-install npm install -g react-native-cli react-native init AwesomeProject
This fixed it: https://github.com/jquense/yup/issues/216 cd AwesomeProject npm add @babel/runtime
Also https://github.com/facebook/react-native/issues/21310
I have reported to https://github.com/react-native-community/react-native-releases/issues/45, hopefully we can have a new release soon.