从gitup上下了vue-element-admin-master的项目,但npm i却一直起不来,求大佬帮帮我

报错如下
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.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\admin\AppData\Roaming\npm-cache_logs\2018-12-13T05_49_05_745Z-debug.log
PS E:\fangGit\vue-element-admin>

首先你得本地安装GIT 然后环境变量里面需要有git的路径配置 如何安装GIT请看 https://git-scm.com/book/zh/v1/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git

如果我的答案对您有帮助,请点击采纳。如果没有请留言,我会继续关注。

我也是这个错误,后来配置了环境变量。然后用 git clone https://github.com/PanJiaChen/vue-element-admin.git 没有跑起来,用 cnpm i 跑起来了。

你本地跑过别的vue的demo吗,别的简单demo可以的话,这个应该没问题的呀

cnpm i 下载就能正常运行