Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

environment node v10.13.0 npm v6.4.1 react-native-cli v2.0.1 "react": "16.6.3", "react-native": "0.57.8", "react-native-popup-dialog": "^0.16.6",
Warning occurs after introduction import Dialog, { DialogTitle, DialogContent, DialogButton, SlideAnimation, ScaleAnimation, } from 'react-native-popup-dialog';
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
I am not sure what to do :( The issue seems to be related to metro bundler (The JavaScript bundler for React Native)
references: https://github.com/facebook/metro/issues/287 https://github.com/facebook/react-native/issues/20841
This warning is showing here too.
Still have this warning : (
how to resolve that?
Also waiting for a solution
Me too :( I'm still waiting.
I have not solved mine, I can only shielding warning
Switching from npm to yarn seems to have fixed the issue for me.
Fixed: #211