当前位置:   article > 正文

npm install 报错 chromedriver 安装失败_current existing chromedriver binary is unavailabl

current existing chromedriver binary is unavailable, proceding with download

npm install 报错 chromedriver 安装失败:信息如下

  1. Current existing ChromeDriver binary is unavailable, proceding with download and extraction.
  2. Downloading from file: https://chromedriver.storage.googleapis.com/2.46/chromedriver_win32.zip
  3. Saving to file: C:\Users\pchen\AppData\Local\Temp\2.46\chromedriver\chromedriver_win32.zip
  4. ChromeDriver installation failed Error with http(s) request: Error: connect ETIMEDOUT 172.217.24.16:443

 解决方法:

npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/593143
推荐阅读
相关标签
  

闽ICP备14008679号