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/SampleRN20/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react-native": "0.20.0",
"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.

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.69.x. Upgrading react-native to 0.69.12 without updating this script path means npm start will fail with a "module not found" error. In react-native 0.69+, the CLI entry point moved to @react-native-community/cli.

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.

Missing required react peer dependency for RN 0.69

High Severity

React Native 0.69 requires react (version 18) as a peer dependency, but the dependencies block doesn't include react at all. In RN 0.20, React was bundled within react-native itself, so this wasn't needed. With the upgrade to 0.69.12, the project will fail to install or run without an explicit react dependency.

Fix in Cursor Fix in Web

"react-native-webview-bridge": "../.."
}
}