question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with flowlint in graphql@14.5.0

See original GitHub issue

I got the error with flow in graphql@14.5.0. I do not get any error in graphql@14.4.2. Can someone help me? Or maybe you can remove this rule of flowlint?

$ /Users/hsuting/Desktop/work/core/node_modules/.bin/flow
Error β”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆ node_modules/graphql/type/definition.js.flow:4:13

Redundant argument. This argument doesn't change any lint settings.

     1β”‚ // @flow strict
     2β”‚
     3β”‚ // FIXME
     4β”‚ // flowlint deprecated-type: off
     5β”‚ import objectEntries from '../polyfills/objectEntries';
     6β”‚
     7β”‚ import inspect from '../jsutils/inspect';

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
IvanGoncharovcommented, Aug 23, 2019

@HsuTing @gajus I’m working on 14.5.1 to fix this issue ASAP. ETA < 1hr.

4reactions
magicmarkcommented, Apr 2, 2020

@IvanGoncharov Looks like this has come back?

$ yarn flow status
yarn run v1.13.0                                                                                                                                                        
warning package.json: No license field                                                                                                                                  
$ /nail/home/markl/pg/dlcg/examples/swapi/node_modules/.bin/flow status                                                                                                 
Launching Flow server for /nail/home/markl/pg/dlcg/examples/swapi
Spawned flow server (pid=22550)
Logs will go to /tmp/flow/zSnailzShomezSmarklzSpgzSdlcgzSexampleszSswapi.log
Monitor logs will go to /tmp/flow/zSnailzShomezSmarklzSpgzSdlcgzSexampleszSswapi.monitor_log
Error β”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆβ”ˆ node_modules/graphql/error/GraphQLError.js.flow:4:13

Redundant argument. This argument doesn't change any lint settings.

     1β”‚ // @flow strict
     2β”‚
     3β”‚ // FIXME:
     4β”‚ // flowlint uninitialized-instance-property:off
     5β”‚
     6β”‚ import isObjectLike from '../jsutils/isObjectLike';
     7β”‚ import { SYMBOL_TO_STRING_TAG } from '../polyfills/symbols';



Found 1 error
error Command failed with exit code 2.                                                                                                                                  
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.                                                                                    
$ yarn list graphql
yarn list v1.13.0                                                                                                                                                       
warning package.json: No license field                                                                                                                                  
warning No license field                                                                                                                                                
warning Filtering by arguments is deprecated. Please use the pattern option instead.                                                                                    
└─ graphql@15.0.0
Done in 0.25s.                                                                                                                                                          

$ yarn list flow-bin
yarn list v1.13.0                                                                                                                                                       
warning package.json: No license field                                                                                                                                  
warning No license field                                                                                                                                                
warning Filtering by arguments is deprecated. Please use the pattern option instead.                                                                                    
└─ flow-bin@0.122.0
Done in 0.23s.       
Read more comments on GitHub >

github_iconTop Results From Across the Web

Flowlint Comments | Flow
Configuring lint settings with flowlint comments allows you to specify different settings within a file and different settings to different regions ofΒ ...
Read more >
Flow error when using react-apollo Query component render ...
I get the following error from flow: Error:(151, 27) Cannot get 'data.posts' because property 'posts' is missing in object type [1].
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found