Skip to content
Open
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 @@ -25,7 +25,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: CLI platform version mismatch breaks compatibility

Version mismatch between @react-native-community/cli (17.0.1) and its platform dependencies @react-native-community/cli-platform-android and @react-native-community/cli-platform-ios (both at 15.0.1). The CLI v17.0.1 expects v17.0.1 of the platform packages as shown in the yarn.lock dependencies, which will cause compatibility issues and potential runtime 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.77.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"access": "public"
},
"devDependencies": {
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli": "17.0.1",
"@react-native/eslint-config": "^0.73.1",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
Expand Down
Loading