Skip to content

Commit 84430e4

Browse files
authored
fix: unknown option npm when generating a vanilla example app (#664)
### Summary Fixes #663 ### Test plan 1. Generate a new library with the vanilla example app 2. Make sure you don't get an exception
1 parent afc7b26 commit 84430e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/create-react-native-library/src/utils/generateExampleApp.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export default async function generateExampleApp({
9393
'--version',
9494
reactNativeVersion,
9595
'--skip-install',
96-
'--npm',
96+
'--pm',
97+
'npm',
9798
];
9899

99100
// `npx create-expo-app example --no-install --template blank`

0 commit comments

Comments
 (0)