fbjs icon indicating copy to clipboard operation
fbjs copied to clipboard

duplicate module provider errors when I flow check my project

Open jedwards1211 opened this issue 6 years ago • 5 comments

I swear I've had to tweak flow configs in various projects to ignore these errors about a hundred times by now. It becomes even more of a hassle when fbjs winds up being a transitive dependency. I'm getting really tired of it. I'm including all of them here just so that you guys can experience my suffering.

Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/CSSCore.js.flow:1:1Duplicate module provider for CSSCore. Change either this module provider or the current module provider [1].
     node_modules/recompose/node_modules/fbjs/lib/CSSCore.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/CSSCore.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/DataTransfer.js.flow:1:1

Duplicate module provider for DataTransfer. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/DataTransfer.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/DataTransfer.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Deferred.js.flow:1:1
Duplicate module provider for Deferred. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Deferred.js.flow     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Deferred.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/ErrorUtils.js.flow:1:1

Duplicate module provider for ErrorUtils. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/ErrorUtils.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/ErrorUtils.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/EventListener.js.flow:1:1

Duplicate module provider for EventListener. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/EventListener.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/EventListener.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/ExecutionEnvironment.js.flow:1:1

Duplicate module provider for ExecutionEnvironment. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/ExecutionEnvironment.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/ExecutionEnvironment.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Keys.js.flow:1:1

Duplicate module provider for Keys. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Keys.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Keys.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Map.js.flow:1:1

Duplicate module provider for Map. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Map.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Map.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/PhotosMimeType.js.flow:1:1

Duplicate module provider for PhotosMimeType. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/PhotosMimeType.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/PhotosMimeType.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Promise.js.flow:1:1

Duplicate module provider for Promise. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Promise.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Promise.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/PromiseMap.js.flow:1:1

Duplicate module provider for PromiseMap. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/PromiseMap.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/PromiseMap.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Scroll.js.flow:1:1

Duplicate module provider for Scroll. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Scroll.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Scroll.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Set.js.flow:1:1

Duplicate module provider for Set. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Set.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Set.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/Style.js.flow:1:1

Duplicate module provider for Style. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/Style.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/Style.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/TokenizeUtil.js.flow:1:1

Duplicate module provider for TokenizeUtil. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/TokenizeUtil.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/TokenizeUtil.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/TouchEventUtils.js.flow:1:1

Duplicate module provider for TouchEventUtils. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/TouchEventUtils.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/TouchEventUtils.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/URI.js.flow:1:1

Duplicate module provider for URI. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/URI.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/URI.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeBidi.js.flow:1:1

Duplicate module provider for UnicodeBidi. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeBidi.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeBidi.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeBidiDirection.js.flow:1:1

Duplicate module provider for UnicodeBidiDirection. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeBidiDirection.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeBidiDirection.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeBidiService.js.flow:1:1

Duplicate module provider for UnicodeBidiService. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeBidiService.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeBidiService.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeCJK.js.flow:1:1

Duplicate module provider for UnicodeCJK. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeCJK.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeCJK.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeHangulKorean.js.flow:1:1

Duplicate module provider for UnicodeHangulKorean. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeHangulKorean.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeHangulKorean.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeUtils.js.flow:1:1

Duplicate module provider for UnicodeUtils. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeUtils.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeUtils.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UnicodeUtilsExtra.js.flow:1:1

Duplicate module provider for UnicodeUtilsExtra. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UnicodeUtilsExtra.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UnicodeUtilsExtra.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UserAgent.js.flow:1:1

Duplicate module provider for UserAgent. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UserAgent.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UserAgent.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/UserAgentData.js.flow:1:1

Duplicate module provider for UserAgentData. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/UserAgentData.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/UserAgentData.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/VersionRange.js.flow:1:1

Duplicate module provider for VersionRange. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/VersionRange.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/VersionRange.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/_shouldPolyfillES6Collection.js.flow:1:1

Duplicate module provider for _shouldPolyfillES6Collection. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/_shouldPolyfillES6Collection.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/_shouldPolyfillES6Collection.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/areEqual.js.flow:1:1

Duplicate module provider for areEqual. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/areEqual.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/areEqual.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/base62.js.flow:1:1

Duplicate module provider for base62. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/base62.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/base62.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/camelize.js.flow:1:1

Duplicate module provider for camelize. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/camelize.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/camelize.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/camelizeStyleName.js.flow:1:1

Duplicate module provider for camelizeStyleName. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/camelizeStyleName.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/camelizeStyleName.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/compactArray.js.flow:1:1

Duplicate module provider for compactArray. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/compactArray.js.flow
     1│ /**
     2│  * Copyright 2015-present Facebook. All Rights Reserved.
     3│  *
     4│  * @providesModule compactArray

     node_modules/create-react-class/node_modules/fbjs/lib/compactArray.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/concatAllArray.js.flow:1:1

Duplicate module provider for concatAllArray. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/concatAllArray.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/concatAllArray.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/containsNode.js.flow:1:1

Duplicate module provider for containsNode. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/containsNode.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/containsNode.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/countDistinct.js.flow:1:1

Duplicate module provider for countDistinct. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/countDistinct.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/countDistinct.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/crc32.js.flow:1:1

Duplicate module provider for crc32. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/crc32.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/crc32.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/createArrayFromMixed.js.flow:1:1

Duplicate module provider for createArrayFromMixed. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/createArrayFromMixed.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/createArrayFromMixed.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/createNodesFromMarkup.js.flow:1:1

Duplicate module provider for createNodesFromMarkup. Change either this module provider or the current module
provider [1].

     node_modules/recompose/node_modules/fbjs/lib/createNodesFromMarkup.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/createNodesFromMarkup.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/cx.js.flow:1:1

Duplicate module provider for cx. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/cx.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/cx.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/distinctArray.js.flow:1:1

Duplicate module provider for distinctArray. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/distinctArray.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/distinctArray.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/emptyFunction.js.flow:1:1

Duplicate module provider for emptyFunction. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/emptyFunction.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/emptyFunction.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/emptyObject.js.flow:1:1

Duplicate module provider for emptyObject. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/emptyObject.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/emptyObject.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/enumerate.js.flow:1:1

Duplicate module provider for enumerate. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/enumerate.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/enumerate.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/equalsIterable.js.flow:1:1

Duplicate module provider for equalsIterable. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/equalsIterable.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/equalsIterable.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/equalsSet.js.flow:1:1

Duplicate module provider for equalsSet. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/equalsSet.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/equalsSet.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/everyObject.js.flow:1:1

Duplicate module provider for everyObject. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/everyObject.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/everyObject.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/everySet.js.flow:1:1

Duplicate module provider for everySet. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/everySet.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/everySet.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/fetch.js.flow:1:1

Duplicate module provider for fetch. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/fetch.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/fetch.js.flow
 [1] 1│ /**


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/recompose/node_modules/fbjs/lib/fetchWithRetries.js.flow:1:1

Duplicate module provider for fetchWithRetries. Change either this module provider or the current module provider [1].

     node_modules/recompose/node_modules/fbjs/lib/fetchWithRetries.js.flow
     1│ /**
     2│  * Copyright (c) 2013-present, Facebook, Inc.
     3│  *
     4│  * This source code is licensed under the MIT license found in the

     node_modules/create-react-class/node_modules/fbjs/lib/fetchWithRetries.js.flow
 [1] 1│ /**



... 47 more errors (only 50 out of 97 errors displayed)
To see all errors, re-run Flow with --show-all-errors
[nodemon] clean exit - waiting for changes before restart

jedwards1211 avatar Jun 12 '18 22:06 jedwards1211

you can exclude them on your .flowconfig

sibelius avatar Jun 12 '18 22:06 sibelius

I already do,. But I get tired of excluding them over and over as I create new packages

jedwards1211 avatar Jun 12 '18 23:06 jedwards1211

Can you give a quick repro (including flow version)? We don't have many eyeballs here so making it as easy as possible to test is super helpful. Thanks!

zpao avatar Jun 14 '18 00:06 zpao

@zpao sigh, okay I figured out that it's because I have two versions of fbjs installed. Part of the problem is that yarn f'ed up on the deduplication and I have

$ npm ls fbjs
@pasonpower/[email protected] /Users/andy/pason-power
├─┬ @material-ui/[email protected]
│ └─┬ [email protected]
│   └── [email protected] 
├─┬ [email protected]
│ └── [email protected]  deduped

Yet when I try yarn add --dev @material-ui/[email protected] [email protected] in a fresh project it only installs [email protected].

I need to file an issue with flow to not show these errors on duplicate modules, but is there any chance it would be possible to get rid of the @providesModule annotations that are used for whatever old-school system facebook was using for modules here?

jedwards1211 avatar Jun 14 '18 00:06 jedwards1211

@zpao I read in the node-haste repo that:

Facebook no longer uses node-haste, and this project was not being maintained.

So wouldn't it be possible to remove all of these @providesModule annotations?

jedwards1211 avatar Jun 21 '18 18:06 jedwards1211