【发布时间】:2019-03-13 13:16:29
【问题描述】:
当我尝试在控制台中运行“expo init my-new-project”时,出现以下错误:
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t ssh://git@github.com/expo/react-native-maps.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\??\AppData\Roaming\npm-cache\_logs\2019-03-13T13_11_19_931Z-debug.log
Process exited with non-zero code: 1
我尝试了所有方法,但这种情况仍在发生。谁能帮帮我。
【问题讨论】:
标签: node.js git react-native npm expo