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

Choose a reason for hiding this comment

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

Start script path incompatible with upgraded React Native

The start script references node_modules/react-native/local-cli/cli.js, which existed in React Native 0.20.0 but was removed as part of the "Lean Core" initiative around version 0.60. In React Native 0.69.12, the CLI has been extracted to @react-native-community/cli and this path no longer exists. Running npm start will fail with a "module not found" error. The script needs to be updated to use npx react-native start or the modern CLI path.

Additional Locations (1)

Fix in Cursor Fix in Web

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