vuex源碼 安裝依賴問題
阿新 • • 發佈:2018-02-02
ogl tty 今天 storage ins body 方案 with pos
今天下載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
vuex源碼 安裝依賴問題