我第一次试用聚合物起动机试剂盒。使用尤曼发电机,我已经搭建了基础工程。当我使用运行单元测试时,将得到以下错误。
错误:无法从2.46.0.zip请求标头
下面是我运行gulp test:local时的标准输出
使用~\tryout\js\polymer\admin-portal-client\gulpfile.js 12:39:44启动‘wct:local’.为本地浏览器启动Selenium服务器 -- selenium : from: C:\Users\ninpv1\tryout\js\polymer\admin-portal-client\node_modules\web-component-tester\node_modules\wct-local\node_modules\selenium-standalone.selenium\se lenium-server\2.47.1-server.jar --铬安装: from:win32.zip to: C:\Users\ninpv1\tryout\js\polymer\admin-portal-client\node_modules\web-component-tester\node_modules\wct-local\node_modules\selenium-standalone.selenium\ch romedriver\2.16-x64-chromedriver - ie安装:从:2.46.0.zip到: C:\Users\ninpv1\tryout\js\polymer\admin-portal-client\node_modules\web-component-tester\node_modules\wct-local\node_modules\selenium-standalone.selenium\ie驱动程序\2.46.0-x64-IEDriverServer.exe--来自win32.zip的文件已经下载--来自http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.1.jar的文件已经下载了12:40:10 ‘wct: 26 s 12:40:10错误:无法从请求标头
节点版本: v0.12.7 npm版本: 2.11.3操作系统: Windows 7
有什么不对的?
发布于 2015-08-19 09:37:59
因为该链接上不存在此文件2.46.0.zip。只要在你的浏览器上浏览所有三个文件就可以了。你会发现这是唯一不存在的。然而,2.47.0.zip确实存在。
更新:看起来好像有人已经打开了一个问题。https://github.com/Polymer/web-component-tester/issues/206
https://stackoverflow.com/questions/32064319
复制相似问题