Flow 0.68.0 compatibility
See original GitHub issueFlow 0.68 added some changes that introduce some new errors:
$> yarn flow
yarn run v1.5.1
$ /Users/stevehollaar/graphql-js/node_modules/.bin/flow
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ src/error/locatedError.js:25:38
Property path is missing in Error [1].
[1] 19│ originalError: Error,
20│ nodes: $ReadOnlyArray<ASTNode>,
21│ path: $ReadOnlyArray<string | number>,
22│ ): GraphQLError {
23│ // Note: this uses a brand-check to support GraphQL errors originating from
24│ // other contexts.
25│ if (originalError && Array.isArray(originalError.path)) {
26│ return (originalError: any);
27│ }
28│
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ src/subscription/mapAsyncIterator.js:25:14
Property return is missing in $AsyncIterator [1].
src/subscription/mapAsyncIterator.js
22│ const iterator = getAsyncIterator(iterable);
23│ let $return;
24│ let abruptClose;
25│ if (typeof iterator.return === 'function') {
26│ $return = iterator.return;
27│ abruptClose = error => {
28│ const rethrow = () => Promise.reject(error);
node_modules/iterall/index.js.flow
[1] 506│ & (<+TValue>(asyncIterable: AsyncIterable<TValue>) => AsyncIterator<TValue>)
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ src/subscription/mapAsyncIterator.js:59:18
Property throw is missing in $AsyncIterator [1].
src/subscription/mapAsyncIterator.js
56│ : Promise.resolve({ value: undefined, done: true });
57│ },
58│ throw(error) {
59│ if (typeof iterator.throw === 'function') {
60│ return iterator.throw(error).then(mapResult, mapReject);
61│ }
62│ return Promise.reject(error).catch(abruptClose);
node_modules/iterall/index.js.flow
[1] 506│ & (<+TValue>(asyncIterable: AsyncIterable<TValue>) => AsyncIterator<TValue>)
Found 3 errors
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
FLOW version compatibility table - DataFromSky
Download the right version of FLOW running on your device for free. ... we have prepared a compatibility table for you to clarify...
Read more >New Architecture with version 0.68.0 by React Native Team
Recently, the team launched a new React Architecture, version 0.68.0 that enables developers to create highly effective and responsive apps.
Read more >A more responsive Flow - Medium
When editing Flow code in an IDE, users expect features like autocompletion and jump-to-definition to work. However, the Flow support for ...
Read more >Introducing Fabric to react-native-screens - Software Mansion
It is not only the first Fabric-compatible version of this very popular project ... React Native CLI: npx react-native init NewRN68App --version 0.68.0-rc.1 ......
Read more >Release Notes - FastAPI
Fix typo in docs about contributing, for compatibility with pip in Zsh. PR #5523 ... to include fixes for flavors of authorization code...
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

I see, for some reason I was missing this line in the [options] of my .flowconfig
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMeI also saw that the fix is just to tell Flow to shut up 😉
Thanks for the help!
I just published 0.13.2 with #1290 merged which should fix this.