Ary Purnomoz
Ary Purnomoz

Reputation: 141

flow complains if when having react and react-native in node_modules

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

Answers (1)

Thomas Parslow
Thomas Parslow

Reputation: 6012

You probably want to add one of them to the [ignore] section of your .flowconfig

Upvotes: 4

Related Questions