0
操作系統時:Windows7的64「無法設置屬性 '味精' 的空」 錯誤運行「的webdriver經理更新」
NPM:3.10.10
webdriver的經理:12.0.5
量角器:5.1.1
的NodeJS: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經理12.0.5
此外,答案不是真正的一部分,但你可以檢查一下的文件大小響應JSON和XML文件,如果大小爲0? – cnishina
今天工作正常。看來問題是由geckodriver-v0.16.1.zip引起的。這個zip文件昨天被打破,不能解壓縮。 –
有趣。很高興聽到它解決了。 – cnishina