You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✔ Downloading template
✔ Copying template
✔ Processing template
✖ Installing dependencies
error 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.
@imdipprokash it may be acceptable for you to uninstall yarn but this is definitely not a fix.
I am experiencing the same issue. And I know that other developers on mac and yarn 1.x.x do too.
As far as I can tell npx @react-native-community/cli init upgrades the yarn version to 3.x.x which breaks everything. It's not possible to use yarn after that. Another workaround is to manually downgrade to 1.x.x.
Description
Running: npx @react-native-community/cli init
## ### #### ### ##
#### ######## ####
### ########## ###
#### ######## ####
## ### #### ### ##
✔ Downloading template
✔ Copying template
✔ Processing template
✖ Installing dependencies
error 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.
info 💡 To enable automatic CocoaPods installation when building for iOS you can create react-native.config.js with automaticPodsInstallation field.
For more details, see https://github.com/react-native-community/cli/blob/main/docs/projects.md#projectiosautomaticpodsinstallation
✔ Initializing Git repository
Steps to reproduce
npx @react-native-community/cli init my app
React Native Version
0.75.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/imdipprokash/map
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: