Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cannot find module
react-native-*/Libraries/Core/InitializeCore
(
#42875) Summary: `react-native/community-cli-plugin` is unable to resolve out-of-tree platforms in monorepos because the package may not be hoisted to the same location. For example, if `react-native/community-cli-plugin` was hoisted: ``` /~/node_modules/react-native/community-cli-plugin/dist/utils ``` It may never find `react-native-macos` if it wasn't hoisted: ``` /~/packages/my-app/node_modules/react-native-macos ``` ## Changelog: [GENERAL] [FIXED] - Fix `react-native/community-cli-plugin` is unable to resolve out-of-tree platforms in monorepos Pull Request resolved: #42875 Test Plan: Tested in an internal project. Reviewed By: cipolleschi Differential Revision: D53426607 Pulled By: robhogan fbshipit-source-id: 29b9fe92d5773d0160bba375d2e92ec688652e3e
- Loading branch information