catalog

1. Downloading
https://chromedriver.storage.googleapis.com/2.41/chromedriver_window32... report errors
<https://blog.csdn.net/xiaomajia029/article/details/82746774#1.%20Downloading%20https%3A%2F%2Fchromedriver.storage.googleapis.com%2F2.41%2Fchromedriver_window32...%E6%8A%A5%E9%94%99>

2. To be continued ...
<https://blog.csdn.net/xiaomajia029/article/details/82746774#2.%20%E5%BE%85%E7%BB%AD...>

1. Downloading
https://chromedriver.storage.googleapis.com/2.41/chromedriver_window32... report errors

in use vue init After initializing the project , use npm i Packing ; Or when you install a dependency package while viewing someone else's project , Sometimes it will be installed chromedeiver When it comes
Stuck, unable to continue or error reported ……


This is because in some versions ,Chromedriver Of zip file URL The response is 302 Jump , But in the install.js It uses node.js Built in http Object's get method , Unable to process 302 Jump situation . Or the other way around :googleleapis.com It's on the wall .

resolvent :

stay npm install Before implementation , Manual installation Chromedriver, The order is as follows :
npm install chromedriver
--chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
2. To be continued ...