一、首先讲讲下载
用git clone 的方式下载,复制https://.....这个仓库地址
找到你要存放的文件夹,右键单击(安装有git的话)就会出现git选项,选择git bash here
new文件夹就是我要存的地方,右键选择git bash here
这样
成功之后在new文件夹下就会有一个agent文件
二、重点来了,下载好了运行出现了bug
打开agent文件---运行代码npm install报错
找原因,网上说是因为版本
运行代码npm install npm -g
然后再试npm i 依然报错
搜了一下说是chromedrive没有安装
然后我参考大佬的, npm常见错误 终于解决
因为npm 比较慢,我用cnpm-----先npm install -g cnpm
然后安装webpack包--- cnpm install -g webpack
然后安装vue-cli脚手架 ---cnpm install
、
然后安装 chromedriver ---cnpm install chromedriver -g
然后启动 --npm run dev