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

[WARN] Require cycle: node_modules\react-native-paper\src\index.tsx #2401

Closed
PRA1995SAG opened this issue Dec 8, 2020 · 3 comments
Closed

Comments

@PRA1995SAG
Copy link

PRA1995SAG commented Dec 8, 2020

Current behaviour

WARN Require cycle: node_modules\react-native-paper\src\index.tsx -> node_modules\react-native-paper\src\components\Checkbox\Checkbox.tsx -> node_modules\react-native-paper\src\components\Checkbox\CheckboxItem.tsx -> node_modules\react-native-paper\src\index.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
RCTView
RCTView
RNCSafeAreaProvider
GestureHandlerRootView
RCTView
RCTView

Expected behaviour

idk, if it is normal behaviour or it needs to be fixed. But I request a response, why this warning comes? how to fix ?

Code sample

Screenshots (if applicable)

image

What have you tried

Your Environment

software version
ios or android android
react-native 0.63.3
react-native-paper 4.4.1
node 12.18.2
npm or yarn 1.22.4
expo sdk no

*Notice: I use yarn

@github-actions
Copy link

github-actions bot commented Dec 8, 2020

Couldn't find version numbers for the following packages in the issue:

  • react-native-vector-icons
  • npm
  • yarn
  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • react-native (found: 0.63.3, latest: 0.63.4)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

@github-actions
Copy link

github-actions bot commented Dec 8, 2020

Couldn't find version numbers for the following packages in the issue:

  • react-native-vector-icons
  • npm
  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • react-native (found: 0.63.3, latest: 0.63.4)
  • yarn (found: 1.22.4, latest: 1.22.10)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

@unikvozm
Copy link
Contributor

unikvozm commented Dec 8, 2020

The fixes are merged (#2378) and will be available in the next release soon =)

@unikvozm unikvozm closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants