Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli": "20.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Version Mismatch Causes CLI Platform Conflicts

Version mismatch: @react-native-community/cli was upgraded to 20.0.0, but @react-native-community/cli-platform-android and @react-native-community/cli-platform-ios remain at 15.0.1. This creates a dependency conflict because the main CLI package 20.0.0 requires these platform packages at version 20.0.0 (as shown in the yarn.lock where cli-doctor@20.0.0 depends on cli-platform-android@20.0.0 and cli-platform-ios@20.0.0). Having mismatched major versions will cause both versions to be installed simultaneously, potentially leading to runtime errors, unexpected behavior, or build failures.

Fix in Cursor Fix in Web

"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-native/babel-preset": "0.78.0",
Expand Down
Loading
Loading