Closed
Description
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.5
CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 390.36 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.11.2 - ~/.nvm/versions/node/v8.11.2/bin/node
Yarn: 1.7.0 - ~/.nvm/versions/node/v8.11.2/bin/yarn
npm: 6.1.0 - ~/.nvm/versions/node/v8.11.2/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 25.0.2, 26.0.1, 27.0.3
API Levels: 23, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4720617
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
@storybook/react: ^3.4.6 => 3.4.7
@storybook/react-native: ^3.4.6 => 3.4.7
react: 16.3.2 => 16.3.2
react-native: 0.56.0-rc.2 => 0.56.0-rc.2
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
When generating a new app using react-native-init with latest 0.56.0-rc.2
selected, I am getting 97 flow errors. Same with 0.56.0-rc.1and 0.56.0-rc
For example:
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/react-native/Libraries/react-native/react-native-implementation.js:118:20
Cannot resolve module TabBarIOS.
115│ return require('SwipeableListView');
116│ },
117│ get TabBarIOS() {
118│ return require('TabBarIOS');
119│ },
120│ get Text() {
121│ return require('Text');
Reproducible Demo
react-native init awesome --version="0.56.0-rc.2"
yarn add --dev flow-bin@0.74.0
yarn flow
Activity