我创建react-native-app并想安装redux和导航,但是我收到了这个错误 . 所以我尝试删除项目中的node_module并重新安装node_module但我得到了同样的错误在我的com中有节点v.10.13 npm v.6.4.1

in step:expo init - > npm install react-redux redux - > get error - > delete node_module - > npm install - >得到同样的错误

这是错误

npm ERR!代码ENOGIT npm ERR!执行时出错:npm ERR! undefined ls-remote -h -t ssh://git@github.com/expo/react-native-> maps.git npm ERR!错误的ERR!未定义的npm ERR!在$ PATH npm ERR中找不到git二进制文件!错误的ERR!使用git失败了 . 错误的ERR!请检查您是否安装了git并在PATH中 . 错误的ERR!可以在以下位置找到此运行的完整日志:npm ERR! C:\ Users \ Achirawat Juasawad \ AppData \ Roaming \ npm-cache_logs \ 2018-11-21T16_32_33_305Z-debug.log

关于GIT,我从来没有在我的com中安装git,之前没有这个问题 .