为React Native安装gRPC Core时出错



我有一个React Native项目。这就是我所做的:

  1. cd ios
  2. 吊舱安装

它显示了一个错误:

[!] Error installing gRPC-Core
[!] /usr/local/bin/git -C /var/folders/nn/q9qmjmnn4kbdtfv9fnrm2srr0000gn/T/d20210107-2756-1gvx5cd submodule update --init --recursive
git: `submodule` is not a git command. See `git --help`.

请建议我能做些什么。

您的git似乎有问题,可以尝试重新安装git。

最新更新