react-native-modals icon indicating copy to clipboard operation
react-native-modals copied to clipboard

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

Open lanjinli opened this issue 7 years ago • 9 comments

screenshot_1546917608

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.

lanjinli avatar Jan 08 '19 03:01 lanjinli

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

jacklam718 avatar Jan 08 '19 09:01 jacklam718

This warning is showing here too.

mayconmesquita avatar Mar 11 '19 01:03 mayconmesquita

Still have this warning : (

tokinonagare avatar May 09 '19 03:05 tokinonagare

how to resolve that?

nugrohotanjo avatar May 13 '19 06:05 nugrohotanjo

Also waiting for a solution

nadarian avatar Jul 24 '19 22:07 nadarian

Me too :( I'm still waiting.

sdalbsoo avatar Jul 30 '19 06:07 sdalbsoo

I have not solved mine, I can only shielding warning

lanjinli avatar Jul 30 '19 06:07 lanjinli

Switching from npm to yarn seems to have fixed the issue for me.

nadarian avatar Jul 31 '19 21:07 nadarian

Fixed: #211

vasyl91 avatar Jan 02 '20 17:01 vasyl91