React native 为React Native安装gRPC Core时出错

React native 为React Native安装gRPC Core时出错,react-native,React Native,我有一个项目。这就是我所做的: 光盘ios 吊舱安装 它向我显示了一个错误: [!] 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 `g

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

  • 光盘ios
  • 吊舱安装
  • 它向我显示了一个错误:

    [!] 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。

    看起来你的git有问题,你可以尝试重新安装git