Skip to content

Commit 8725a8e

Browse files
committed
fix: call @react-native-community/cli codegen instead of react-native
1 parent 436b287 commit 8725a8e

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-builder-bob/src/targets

1 file changed

+1
-1
lines changed

packages/react-native-builder-bob/src/targets/codegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default async function build({ root, report }: Options) {
3333
}
3434

3535
try {
36-
await spawn('npx', ['react-native', 'codegen'], {
36+
await spawn('npx', ['@react-native-community/cli', 'codegen'], {
3737
stdio: 'ignore',
3838
});
3939

0 commit comments

Comments
 (0)