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

Cyclical dependency warning #390

Open
gdakram opened this issue Apr 20, 2023 · 1 comment
Open

Cyclical dependency warning #390

gdakram opened this issue Apr 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gdakram
Copy link

gdakram commented Apr 20, 2023

Version
1.5.6

Module (core, cmpapi, cli, stub, or testing)
core

Describe with reproduction steps – What is the expected behavior?
I'm on a react-native 0.69 app and using the react-native-google-mobile-ads package. @iabtc/core is its dependency:

react-native-google-mobile-ads@10.2.0:
  version "10.2.0"
  dependencies:
    "@iabtcf/core" "^1.5.3"
    use-deep-compare-effect "^1.8.1"

When I launch the app, metro server is showing the following warning:

Require cycles are allowed, but can result in uninitialized values. 
Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: ../../../node_modules/@iabtcf/core/lib/cjs/encoder/index.js -> 
../../../node_modules/@iabtcf/core/lib/cjs/encoder/SegmentEncoder.js -> 
../../../node_modules/@iabtcf/core/lib/cjs/encoder/field/index.js -> 
../../../node_modules/@iabtcf/core/lib/cjs/encoder/field/FieldEncoderMap.js -> 
../../../node_modules/@iabtcf/core/lib/cjs/encoder/field/VendorVectorEncoder.js -> 
../../../node_modules/@iabtcf/core/lib/cjs/encoder/index.js
@gdakram gdakram added the bug Something isn't working label Apr 20, 2023
@rohit-k-singh
Copy link

Is there any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants