本文主要是介绍npm install 报错 chromedriver 安装失败,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
npm install 报错 chromedriver 安装失败:信息如下
Current existing ChromeDriver binary is unavailable, proceding with download and extraction.
Downloading from file: https://chromedriver.storage.googleapis.com/2.46/chromedriver_win32.zip
Saving to file: C:\Users\pchen\AppData\Local\Temp\2.46\chromedriver\chromedriver_win32.zip
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
这篇关于npm install 报错 chromedriver 安装失败的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!