Reputation: 141
When react-native
and react
is in the ./node_modules
, flow
will complain a "duplicate provider module error".
I'm using module.system = haste
in my .flowconfig
.
Is there a workaround without making flow to ignore one of them?
Upvotes: 3
Views: 495
Reputation: 6012
You probably want to add one of them to the [ignore] section of your .flowconfig
Upvotes: 4