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
Copy Markdown

Choose a reason for hiding this comment

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

Incompatible React version with upgraded React Native

High Severity

react-native 0.69.12 requires react 18.0.0 as a peer dependency, but react remains pinned at 15.4.2. This version mismatch will cause installation failures (peer dependency errors) or runtime crashes. The react-test-renderer at 15.4.2 is similarly incompatible and needs to match the react version.

Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Start script references removed CLI path

High Severity

The start script references node_modules/react-native/local-cli/cli.js, which was removed in React Native 0.60+ when CLI functionality moved to @react-native-community/cli. With react-native now at 0.69.12, running npm start will fail with a "module not found" error since that file no longer exists.

Fix in Cursor Fix in Web

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