react-native-track-player
react-native-track-player copied to clipboard
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
Describe the Bug
WARN Require cycle: node_modules/react-native-track-player/src/index.ts -> node_modules/react-native-track-player/src/hooks/index.ts -> node_modules/react-native-track-player/src/hooks/useIsPlaying.ts -> node_modules/react-native-track-player/src/index.ts
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
Steps To Reproduce Just install player and run app
Environment Info:
Paste the results of npx react-native info
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Pro
Memory: 66.25 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.7.3 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.8.1 - /opt/homebrew/bin/npm
Watchman: 2024.04.15.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/roman/.asdf/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
Android SDK:
API Levels: 31, 33, 33, 34
Build Tools: 30.0.3, 33.0.0, 33.0.1, 34.0.0
System Images: android-33 | Google APIs ARM 64 v8a, android-34 | Google APIs ARM 64 v8a, android-34 | Google Play ARM 64 v8a, android-TiramisuPrivacySandbox | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode: 15.4/15F31d - /usr/bin/xcodebuild
Languages:
Java: 11.0.18 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.4 => 0.69.4
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Paste the exact react-native-track-player version you are using
"react-native-track-player": "^4.1.1",
Real device? Or simulator?
simulator
What OS are you running?
macos