Running `flow` inside a brand new project fails
See original GitHub issueSteps to reproduce:
react-native init someproject && cd someproject
flow init
flow
- Cry because there are 438 errors.
I am on OS X 10.10.2, iojs 1.6.3, react-native 0.3.10, and flow 0.8.
Here is the JSON from the first few errors:
{
"passed": false,
"errors": [
{
"message": [
{
"descr": "NativeModules\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js",
"line": 14,
"endline": 14,
"start": 29,
"end": 52
}
]
},
{
"message": [
{
"descr": "invariant\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js",
"line": 16,
"endline": 16,
"start": 17,
"end": 36
}
]
},
{
"message": [
{
"descr": "NativeModules\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/AdSupport/AdSupportIOS.js",
"line": 14,
"endline": 14,
"start": 17,
"end": 40
}
]
},
{
"message": [
{
"descr": "NativeModules\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/Animation/AnimationExperimental.js",
"line": 14,
"endline": 14,
"start": 27,
"end": 50
}
]
},
{
"message": [
{
"descr": "AnimationUtils\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/Animation/AnimationExperimental.js",
"line": 15,
"endline": 15,
"start": 22,
"end": 46
}
]
},
{
"message": [
{
"descr": "identifier __DEV__\nUnknown global name",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/Animation/AnimationExperimental.js",
"line": 75,
"endline": 75,
"start": 5,
"end": 11
}
]
},
{
"message": [
{
"descr": "ReactPropTypes\nRequired module not found",
"code": 0,
"path": "/Users/jergason/code/flowbreaks/node_modules/react-native/Libraries/Animation/LayoutAnimation.js",
"line": 14,
"endline": 14,
"start": 17,
"end": 41
}
]
},
// etc
]
}
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:41 (16 by maintainers)
Top Results From Across the Web
Troubleshoot common issues with triggers - Power Automate
Go to My flows in the left pane, and then select the flow. In the 28-day run history, select All runs. A screenshot...
Read more >Project Failure | 6 Reasons Why Project Fails and ... - Kissflow
A project becomes a failure when it does not deliver what was required within the agreed-upon budget and time. However, in most cases,...
Read more >Issue running Flow on Nodejs project - Stack Overflow
I am just starting with Flow and I constantly get a crash when I try to run flow with the following error messages:...
Read more >Error Handling in Cloud Flow. Introduction - Medium
There are several approaches to handle errors in cloud flow but we will deep dive into one of them which is useful to...
Read more >Error Messages for Flow Designer - MuleSoft Documentation
Either your flow is not yet built enough to run, or it contains errors. Ensure that you have a trigger for all flows...
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
Also on a pretty new project over here, getting 19 errors from running ‘flow’. RN @ 0.29.0 flow-bin @ 0.28.0
Here’s the output
Looks like this can be closed as well (see #8773).