Commit f9584c3
authored
fix: fix
## Summary:
`@react-native-community/cli-platform-apple` is not correctly resolved
in pnpm setups:
```
% DEBUG=react-native yarn build:macos
/~/packages/app/example/node_modules/react-native-macos/react-native.config.js: @react-native-community/cli-platform-apple not found, the react-native.config.js may be unusable.
info Bundling macos...
error Invalid platform "macos" selected.
info Available platforms are: "android", "ios", "windows". If you are trying to bundle for an out-of-tree platform, it may not be installed.
```
## Test Plan:
n/a@react-native-community/cli-platform-apple not being resolved correctly (microsoft#2820)1 parent b9dde72 commit f9584c3
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
159 | | - | |
| 165 | + | |
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
| |||
0 commit comments