[0.56.0-rc.2] Flow has lots of `Cannot resolve module X`
See original GitHub issueEnvironment
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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Flow: Throws error Cannot resolve module "react-redux" even ...
How to fix it. You have two options: stub the dependency by hand; bring in flow-typed to find the dependency type file/stub it...
Read more >Release Notes β Numba 0.56.4+0.g288a38bbd.dirty-py3.7 ...
This is a bugfix release to fix a regression in the CUDA target in relation to the .view() method on CUDA device arrays...
Read more >react-native-codegen | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >react-native/CHANGELOG.md - UNPKG
881, - Migrate large amount of modules to flow strict and strict-local ... new project template's Flow config to fix `Cannot resolve module...
Read more >Progress and Perspectives of Electrochemical CO2 Reduction ...
To date, copper is the only heterogeneous catalyst that has shown a ... for CO2 reduction over Cu(100) at different flow rates of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is now in
0.56.0-rc.3
.Can you create a new issue? Those errors are unrelated to the original issue (but should still get fixed)