I have started a React Native project from scratch and configured Flow.
When I run npm run flow everything works fine except a small problem with the react-native module:
Cannot resolve module react-native.
I am using:
"react": "16.3.1",
"react-native": "0.55.3",
"flow-bin": "0.74.0"
My .flowconfig is:
[ignore]
.*/node_modules/.*
.*/.cache/.*
.*/test/.*
[include]
[libs]
[lints]
[options]
[strict]
Tried with "flow-typed": "2.4.0" but didn't work.
I found the following issue but there aren't any solutions :/
flow-bin, initialized empty.flowconfigfile, added@flowtoApp.jsand executednpx flow- everything seems to be working. Have I missed anything to reproduce your issue?