gpt4 book ai didi

angular - 错误代码 : 135 , 如何修复错误 : Could not find update-config. json。运行 ‘webdriver-manager update’ 下载二进制文件

转载 作者:行者123 更新时间:2023-12-03 18:44:50 27 4
gpt4 key购买 nike

[17:05:22] I/launcher – Running 1 instances of WebDriver 
[17:05:22] I/direct – Using ChromeDriver directly… [17:05:22] E/direct – Error code: 135
[17:05:22] E/direct – Error message: Could not find update-config.json. Run ‘webdriver-manager update’ to download binaries.
[17:05:22] E/direct – Error: Could not find update-config.json. Run ‘webdriver-manager update’ to download binaries. at Direct.getNewDriver (C:automationDemoprotractor-jasmine-typescriptnode_modulesprotractorbuiltdriverProvidersdirect.js:63:31) at Runner.createBrowser (C:automationDemoprotractor-jasmine-typescriptnode_modulesprotractorbuiltrunner.js:195:43) at q.then.then (C:automationDemoprotractor-jasmine-typescriptnode_modulesprotractorbuiltrunner.js:339:29) at _fulfilled (C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:834:54) at self.promiseDispatch.done (C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:863:30) at Promise.promise.promiseDispatch (C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:796:13) at C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:556:49 at runSingle (C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:137:13) at flush (C:automationDemoprotractor-jasmine-typescriptnode_modulesqq.js:125:13) at _combinedTickCallback (internal/process/next_tick.js:131:7)
[17:05:22] E/launcher – Process exited with error code 135 npm ERR! Test failed. See above for more details. PS C:automationDemoprotractor-jasmine-typescript>

在调试 e2e 测试时出现此错误

最佳答案

1.打开命令提示符或终端。

2.转到您的项目根目录。

3.输入以下命令并按回车键。

节点 node_modules/protractor/bin/webdriver-manager 更新

此命令将更新 WebDriver 管理器。

关于angular - 错误代码 : 135 , 如何修复错误 : Could not find update-config. json。运行 ‘webdriver-manager update’ 下载二进制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57603481/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com