mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: Latest CLI requires `reactNativePath` to be explicitly set when `react-native` is not present under `node_modules` (which is the case when running from source). Fixes #23936 This PR also updates CLI to latest version and removes private calls to `findPlugins` (it's now exposed under public interface). We also remove custom `rn-cli.config.js` options that are no longer needed that we have `--reactNativePath`. I added them a month ago as a temporary workaround. [GENERAL] [FIXED] - Internal - Update to the latest CLI Pull Request resolved: https://github.com/facebook/react-native/pull/23940 Differential Revision: D14472633 Pulled By: cpojer fbshipit-source-id: b7ea92ee130da6730aa0093265958aa1b8c2ab97