forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
Description
Description
There is code which uses "@react-native-community/cli-tools", however there's no dependency on @react-native-community/cli-tools in the package.json...
https://github.com/microsoft/react-native-macos/blob/main/local-cli/runMacOS/runMacOS.js#L18
There's a phantom dependency here because cli-tools is a dependency in other packages... https://github.com/microsoft/react-native-macos/blob/main/yarn.lock#L1232.
This can cause side effect problems which would be fixed by simply including the right version in the react-native/package.json.
Version
Output of react-native info
Steps to reproduce
It requires usage of this package in a strict package manager such as PNMP or midgard-yarn-strict.
Snack, code example, screenshot, or link to a repository
I found the issue by modifying the code of the config/index.js and outputting missing require statements.
Stuart-Wilcox