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

[React Native]: Require cycle warning #1448

Closed
4 tasks done
anhtuank7c opened this issue Feb 7, 2022 · 1 comment · Fixed by #2125
Closed
4 tasks done

[React Native]: Require cycle warning #1448

anhtuank7c opened this issue Feb 7, 2022 · 1 comment · Fixed by #2125
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@anhtuank7c
Copy link

anhtuank7c commented Feb 7, 2022

New Issue Checklist

Issue Description

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

Steps to reproduce

Run with React Native project

Expected Outcome

Not to have require cycle, resolve the warning

Environment

System:
    OS: macOS 12.2
    CPU: (8) arm64 Apple M1
    Memory: 84.22 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.17 - ~/.yarn/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
    Watchman: 2022.01.31.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    Android SDK:
      API Levels: 28, 29, 30, 31
      Build Tools: 27.0.3, 29.0.2, 30.0.0, 30.0.2, 31.0.0
      System Images: android-25 | Android Wear ARM EABI v7a, android-30 | Google Play ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7621141
    Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Client

  • Parse JS SDK version: 3.4.0

Logs

WARN  Require cycle: node_modules/parse/lib/react-native/ParseACL.js -> node_modules/parse/lib/react-native/ParseRole.js -> node_modules/parse/lib/react-native/ParseACL.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/canBeSerialized.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/canBeSerialized.js -> node_modules/parse/lib/react-native/ParseRelation.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseACL.js -> node_modules/parse/lib/react-native/ParseRole.js -> node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/canBeSerialized.js -> node_modules/parse/lib/react-native/ParseRelation.js -> node_modules/parse/lib/react-native/ParseQuery.js -> node_modules/parse/lib/react-native/encode.js -> node_modules/parse/lib/react-native/ParseACL.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/canBeSerialized.js -> node_modules/parse/lib/react-native/ParseRelation.js -> node_modules/parse/lib/react-native/ParseQuery.js -> node_modules/parse/lib/react-native/encode.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseRelation.js -> node_modules/parse/lib/react-native/ParseQuery.js -> node_modules/parse/lib/react-native/encode.js -> node_modules/parse/lib/react-native/ParseRelation.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/canBeSerialized.js -> node_modules/parse/lib/react-native/ParseRelation.js -> node_modules/parse/lib/react-native/ParseQuery.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/decode.js -> node_modules/parse/lib/react-native/ParseACL.js -> node_modules/parse/lib/react-native/ParseRole.js -> node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/decode.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/EventuallyQueue.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseACL.js -> node_modules/parse/lib/react-native/ParseRole.js -> node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/ParseACL.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/SingleInstanceStateController.js -> node_modules/parse/lib/react-native/ObjectStateMutations.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/unique.js -> node_modules/parse/lib/react-native/arrayContainsObject.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/unique.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseObject.js -> node_modules/parse/lib/react-native/unsavedChildren.js -> node_modules/parse/lib/react-native/ParseObject.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/parse/lib/react-native/ParseUser.js -> node_modules/parse/lib/react-native/ParseSession.js -> node_modules/parse/lib/react-native/ParseUser.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
@parse-github-assistant
Copy link

parse-github-assistant bot commented Feb 7, 2022

Thanks for opening this issue!

  • ❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants