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! 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.

解决方法

git安装地址:https://npm.taobao.org/mirrors/git-for-windows/v2.24.0.windows.2/

使用git安装依赖

 欢迎关注作者微信公众号

 

posted @ 2021-08-13 17:58  沾青先生  阅读(4520)  评论(0编辑  收藏  举报