-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-native Template failed [npx react-native@latest init ProjectName --pm npm] #2467
Comments
Faced the same issue here. Was fine 3 weeks ago when I initialised a new project but now it errors out. Looks like something to do with the requirement of template.config.js or the usage of yarn by default. Ultimately, forcing npm usage worked for me => Looks like upgrading to latest yarn will open a can of worms. |
Use expo npx create-expo-app my-appFor more details visit expo react native website |
saved my day |
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
C:\Users\manis\OneDrive\Documents\React Native>npx react-native@latest init ProjectName --pm npm
Running: npx @react-native-community/cli init
⠋ Downloading templateerror Installing pods failed. This doesn't affect project initialization and you can safely proceed.
However, you will need to install pods manually when running iOS, follow additional steps in "Run instructions for iOS" section.
✖ Downloading template
Run instructions for Android:
• Have an Android emulator running (quickest way to get started), or a device connected.
• cd "C:\Users\manis\OneDrive\Documents\React Native\ProjectName" && npx react-native run-android
The text was updated successfully, but these errors were encountered: