vuex源码 安装依赖问题

今天下载vuex源码时 安装依赖出现以下问题

 

> chromedriver@2.32.3 install /Users/bao/Desktop/vue-store/vuex/node_modules/chromedriver
> node install.js

Downloading https://chromedriver.storage.googleapis.com/2.32/chromedriver_mac64.zip
Saving to /var/folders/7m/0l_nf1ls7033gxgkq93r3qkh0000gn/T/chromedriver/chromedriver_mac64.zip
ChromeDriver installation failed Error with http(s) request: Error: read ETIMEDOUT
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

解决方案:

npm install chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
  • 1
  • 2

然后再npm i 完成报错问题

 

源码地址:http://blog.csdn.net/qq_34629352/article/details/78475769

posted @ 2018-02-02 11:36  xfcao  阅读(204)  评论(0编辑  收藏  举报