Skip to content

Commit 74a70bf

Browse files
author
Dan Volkov
authored
fix: Error when creating a package. Error in step Copying template … (#383)
Solves #382 <!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary <!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? --> Fixes #382 according to react-native [issue](facebook/react-native#36290) ### Test plan <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. --> #382 won't reproduce with yarn installed.
1 parent b101f85 commit 74a70bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default async function generateExampleApp({
7373
'--version',
7474
reactNativeVersion,
7575
'--skip-install',
76+
'--npm',
7677
]
7778
: // `npx create-expo-app example --no-install`
7879
['create-expo-app@latest', directory, '--no-install'];

0 commit comments

Comments
 (0)