在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ yarn install時(shí)報(bào)錯(cuò)

yarn install時(shí)報(bào)錯(cuò)

1: 項(xiàng)目是vue的一個(gè)項(xiàng)目,之前6月份用yarn鎖死依賴包;今天重新安裝項(xiàng)目,yarn install報(bào)錯(cuò)
2:報(bào)錯(cuò)信息如下:
$ yarn install
yarn install v1.3.2
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "http://registry.npm.taobao.org/axios/download/axios-0.15.3.tgz: connect ECONNREFUSED 127.0.0.1:1080".
info If you think this is a bug, please open a bug report with the information provided in "D:\svn\branches\1.5\trade-admin\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/c... for documentation about this command.

回答
編輯回答
氕氘氚

很明顯是開了翻墻的代理,1080端口

2017年2月15日 00:26
編輯回答
背叛者

是package.json中"chromedriver": "^2.27.2"這個(gè)插件的問題,刪掉后項(xiàng)目啟動(dòng)成功了
解決辦法:
1:關(guān)閉代理
npm config set proxy null
2:安裝淘寶鏡像

step1: npm config set registry https://registry.npm.taobao.org

step2: npm info underscore

3:yarn install 安裝node-modules

2017年7月20日 10:04