react-native-community / react-native-template-typescript

👾 Clean and minimalist React Native template for a quick start with TypeScript.
https://www.npmjs.com/package/react-native-template-typescript
MIT License
1.86k stars 398 forks source link

pod failing on creating app #176

Closed 2manoj1 closed 3 years ago

2manoj1 commented 3 years ago

Expected results

What did you expect to happen? app should create

Observed results

What happened? ✖ Installing CocoaPods dependencies (this may take a few minutes) ✖ Installing CocoaPods dependencies (this may take a few minutes) error Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template. Please try again manually: "cd ./Mobileapp/ios && pod install". CocoaPods documentation: https://cocoapods.org/

Logs

Please add the log output here.

Steps to reproduce

npx react-native init Mobileapp --template react-native-template-typescript

radko93 commented 3 years ago

Can you try if creating a react native project without the template will work for you? If it does not then the issue is not related to the template.

2manoj1 commented 3 years ago

Same issue. I found that its happening inside monorepo. Solution (workaround) - create or init app outside of monorepo and copy and link with monorepo.

radko93 commented 3 years ago

I will close this. If you have trouble like this you can open an issue on the cli repo.