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 examples/SampleRN42/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"react": "15.4.2",
"react-native": "0.42.3",
"react-native": "0.69.12",
Copy link

Choose a reason for hiding this comment

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

React version incompatible with upgraded react-native

The react-native upgrade from 0.42.3 to 0.69.12 creates a version incompatibility. React Native 0.69 requires React 18.x, but react remains at version 15.4.2. This mismatch will cause the application to fail at runtime since React Native 0.69 relies on React 18 features and APIs that don't exist in React 15.

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

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

Start script path no longer exists in react-native

The start script references node_modules/react-native/local-cli/cli.js, but this path doesn't exist in react-native 0.69.12. The CLI was moved to cli.js at the package root and later extracted to @react-native-community/cli. The start command will fail with a "module not found" error.

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

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

Postinstall uses deprecated react-native link command

The postinstall script uses react-native link, which was deprecated in React Native 0.60 when autolinking was introduced. In React Native 0.69, this command either fails or behaves unexpectedly, preventing proper native module linking during installation.

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

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

Deprecated babel preset incompatible with react-native 0.69

The babel-preset-react-native package at version 1.9.1 was deprecated and replaced by metro-react-native-babel-preset starting from React Native 0.57. With react-native 0.69.12, this outdated preset will fail to properly transform the JavaScript code, causing build failures when bundling the application.

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

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

react-test-renderer version mismatches required React version

The react-test-renderer at version 15.4.2 must match the React version being used. Since react-native 0.69.12 requires React 18.x, but react-test-renderer remains at 15.4.2, tests will fail due to version mismatch errors between the renderer and React internals.

Fix in Cursor Fix in Web

"react-native-webview-bridge": "../.."
},
"devDependencies": {
Expand Down