Skip to content
Open
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 @@ -27,7 +27,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": "17.0.1",
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 in React Native CLI Packages

Upgrading @react-native-community/cli to 17.0.1 while leaving @react-native-community/cli-platform-android and @react-native-community/cli-platform-ios at 15.0.1 creates a version mismatch. These packages are released together from the same monorepo and should have matching versions to ensure compatibility. The main CLI package at version 17 may expect features or APIs from the platform packages that only exist in their version 17 releases, potentially causing runtime errors 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.76.3",
Expand Down