-
Notifications
You must be signed in to change notification settings - Fork 904
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
cli-platform-ios pod install failure #823
Comments
Have same issue. Remove node_modules/react-native-cli. It has old version 2.0.1 Looks like after few npm installs, old version appears in node_modules somehow and broke many things. There is an issue with resolving modules in gradle and seems like they are related. BWT: After that react-native starts to be very slow (resolve modules on every start) |
Yep, that fixed it. Thank you! |
facing same issue even after updating @react-native-community/cli.. @cormander how you solved issue current version of "@react-native-community/cli-platform-ios" is 3.0.0 Environment
Steps to reproduce issue : -
|
If node_modules/react-native-cli exists - remove it. Thrid party module can
install it accidentally and scripts use mix of 2.* and 3.* scripts.
…On Fri, Nov 15, 2019, 19:35 Rohit Pareek ***@***.***> wrote:
facing same issue even after updating @react-native-community/cli..
@cormander <https://github.com/cormander> how you solved issue
*Environment*
OS: macOS 10.15.1
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 4.05 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.4.0 - /usr/local/bin/node
Yarn: 1.19.1 - ~/.yarn/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
*Steps to reproduce issue : -*
1. Upgrade from RN 0.59.9 to RN 0.61.4
2. Use boilerplate Podfile -
https://raw.githubusercontent.com/react-native-community/rn-diff-purge/release/0.61.4/RnDiffApp/ios/Podfile
3. Do a pod repo update and then a pod install
current version of ***@***.***/cli-platform-ios" is 3.0.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#823?email_source=notifications&email_token=AEB3SYIW7C5JPR22NU2UQWTQT2JRJA5CNFSM4JEU4BMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEFJXNI#issuecomment-554343349>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEB3SYM6I5WNNNZ2U32LI3LQT2JRJANCNFSM4JEU4BMA>
.
|
@ifyapishore node_modules/react-native-cli not exists. could you please post script. |
Check |
@thymikee yeah its exist
|
@thymikee @grabbou please check below react-native config details.
|
@thymikee @grabbou @rohitpareek143 : This issue is still there! Any solution for this? |
Getting this as well after I did
I removed it manually, and The podfile line in question is: |
I removed react-native-cli globally, Then |
Had the same problem but was because was trying to install inside yarn workspaces. Installing outside worked. |
Environment
Description
On a current project, after removing the
package-lock.json
and re-runningnpm install
, apod install
in theios
directory fails:Reproducible Demo
Then if you remove
package-lock.json
and re-install and try thenpx react-native config
from theios
directory again:I believe this is due to
npx react-native config
failing to work inside theios
directory on the newer version of@react-native-community/cli-platform-ios
Here's the
package-lock.json
change that broke it:Thanks,
The text was updated successfully, but these errors were encountered: