操作系统:Windows7 x64
npm:3.10.10
网络驱动程序管理器:12.0.5
量角器:5.1.1
节点:6.10.0
错误信息:
C:\Users\Administrator\AppData\Roaming\npm>webdriver-manager update --ignore_ssl
[14:34:48] I/http_utils - ignoring SSL certificate
[14:34:48] I/http_utils - ignoring SSL certificate
[14:34:48] I/http_utils - ignoring SSL certificate
[14:34:52] I/http_utils - ignoring SSL certificate
[14:34:53] I/http_utils - ignoring SSL certificate
[14:35:06] I/http_utils - ignoring SSL certificate
[14:35:57] I/update - chromedriver: unzipping chromedriver_2.29.zip
C:\Users\Administrator\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\built\lib\files\downloader.js:53
error.msg = 'Error: corrupt download for ' + fileName +
^
TypeError: Cannot set property 'msg' of null
at fs.stat (C:\Users\Administrator\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\built\lib\files\downloader.js:53:47)
at FSReqWrap.oncomplete (fs.js:123:15)
昨天还可以,我认为这个错误是由新的 webdriver-manager 12.0.5 引起的