Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning 'Require cycle' between fetch.js & whatwg-fetch.js #23130

Closed
damrem opened this issue Jan 23, 2019 · 2 comments
Closed

Warning 'Require cycle' between fetch.js & whatwg-fetch.js #23130

damrem opened this issue Jan 23, 2019 · 2 comments
Labels
Bug Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@damrem
Copy link

damrem commented Jan 23, 2019

Environment

  React Native Environment Info:
    System:
      OS: Windows 10
      CPU: x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
      Memory: 14.64 GB / 31.84 GB
    Binaries:
      Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD    IDEs:
      Android Studio: Version  3.2.0.0 AI-181.5540.7.32.5056338

Description

Working with [email protected], I encounter this warning:
Require cycle: node_modules\react-native\Libraries\Network\fetch.js -> node_modules\react-native\Libraries\vendor\core\whatwg-fetch.js -> node_modules\react-native\Libraries\Network\fetch.js
This issue had already kind of been raised in #20841. But it has been closed without being fixed because it seemed to be in the scope of various other libraries.
But the fact is that this particular warning involves react-native code so I'm reopening an issue.

Reproducible Demo

Could not get expo to show any console message.

@damrem damrem changed the title Warning 'Require cycle' between Lib...s/Network/fetch.js & Lib...s/vendor/core/whatwg-fetch.js Warning 'Require cycle' between ./Libraries/Network/fetch.js & ./Libraries/vendor/core/whatwg-fetch.js Jan 23, 2019
@damrem damrem changed the title Warning 'Require cycle' between ./Libraries/Network/fetch.js & ./Libraries/vendor/core/whatwg-fetch.js Warning 'Require cycle' between fetch.js & whatwg-fetch.js Jan 23, 2019
@react-native-bot react-native-bot added the 🌐Networking Related to a networking API. label Jan 23, 2019
@shravanteegala
Copy link

shravanteegala commented Jan 28, 2019

Iam facing same Warning issue
screen shot 2019-01-28 at 12 43 17 pm

@kelset
Copy link
Contributor

kelset commented Jan 28, 2019

Closing, please refer to this -> facebook/metro#287

@kelset kelset closed this as completed Jan 28, 2019
@kelset kelset added Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. and removed 🌐Networking Related to a networking API. labels Jan 28, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Jan 28, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests

5 participants