Current existing ChromeDriver bi

2020-06-10  本文已影响0人  鹊南飞_

Current existing ChromeDriver binary is unavailable, proceding with download and extraction

使用yarn初始化vue环境出错,提示chromedriver安装失败。

一开始从官方网址上http://chromedriver.storage.googleapis.com/index.html?path=2.46/下载,

直接进行替换, 发现并不生效,报同样的错误

后面发现设置使用淘宝源,成功解决,

原因是部分chromedirver被墙导致安装失败。

npm设置: npm config set chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver

yarn设置: yarn config set "chromedriver_cdnurl" "https://npm.taobao.org/mirrors/chromedriver"

上一篇下一篇

猜你喜欢

热点阅读