react-native - React-native 安装所需的 CocoaPods 依赖项卡住
问题描述
我无法完成 react-native init,因为该过程一直停留在安装所需的 cocoapods 依赖项,请帮助
这是终端中显示的部分内容:
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 48 new dependencies.
├─ @babel/core@7.5.0
├─ @babel/runtime@7.5.0
├─ @react-native-community/eslint-config@0.0.5
├─ @types/eslint-visitor-keys@1.0.0
├─ @typescript-eslint/eslint-plugin@1.11.0
├─ @typescript-eslint/experimental-utils@1.11.0
├─ @typescript-eslint/parser@1.11.0
├─ @typescript-eslint/typescript-estree@1.11.0
├─ acorn-jsx@5.0.1
├─ acorn@6.2.0
├─ ajv@6.10.0
├─ babel-jest@24.8.0
├─ chardet@0.7.0
├─ doctrine@3.0.0
├─ emoji-regex@7.0.3
├─ eslint-scope@4.0.3
├─ eslint-utils@1.3.1
├─ eslint@6.0.1
├─ espree@6.0.0
├─ esquery@1.0.1
├─ external-editor@3.0.3
├─ file-entry-cache@5.0.1
├─ flat-cache@2.0.1
├─ flatted@2.0.1
├─ functional-red-black-tree@1.0.1
├─ glob-parent@3.1.0
├─ ignore@4.0.6
├─ import-fresh@3.1.0
├─ inquirer@6.4.1
├─ is-extglob@2.1.1
├─ is-glob@4.0.1
├─ jest@24.8.0
├─ json-stable-stringify-without-jsonify@1.0.1
├─ levn@0.3.0
├─ lodash.unescape@4.0.1
├─ metro-react-native-babel-preset@0.55.0
├─ optionator@0.8.2
├─ parent-module@1.0.1
├─ path-dirname@1.0.2
├─ progress@2.0.3
├─ react-refresh@0.2.0
├─ regexpp@2.0.1
├─ rxjs@6.5.2
├─ table@5.4.1
├─ text-table@0.2.0
├─ tslib@1.10.0
├─ tsutils@3.14.0
└─ write@1.0.3
✨ Done in 19.41s.
info Installing required CocoaPods dependencies
解决方案
Installing required CocoaPods dependencies
需要时间。等待大约 30 分钟对我有用。
推荐阅读
- swift - Swift Combine 替代 Rx Observable.create
- r - 计算交点后的几何不一致
- android - 什么构成 AsyncTask 的“UI 交互”?
- sql-server - SQL Server - 高缓冲时间
- java - 尝试打印和加法以及之前读取的变量,但 pinting 仅显示基本的加法变量
- r - 当值显示有不同的行作为最小值时,为什么 whi.min 函数会指定不同的行作为其输出?
- tensorflow - TensorFlow 示例未找到 contrib.tensorboard.plugins
- redis - Redis KeyMiss 通知未触发
- ios - iPad Pro 3rd Gen 无缘无故杀死前台应用程序
- c# - 如何解决3个主要变量的人口增长算法(基于年龄)