npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
在gitbash里面试试
你的是 Windows 环境吗? 可能是配置错误,或者没生效,或者网络问题,建议你 把详细截图放上来。 你既然是npm install 又不是安装git 应该不报 git出错才对!
欢迎追问,希望采纳!