gpt4 book ai didi

angularjs - Protractor - 在 Ubuntu 14.04 上启动时出错

转载 作者:太空宇宙 更新时间:2023-11-03 16:45:15 24 4
gpt4 key购买 nike

我正在尝试在 Ubuntu 14.04 LTS 上设置 Protractor,但在执行此命令时遇到以下错误:

> sudo webdriver-manager start

错误是:

seleniumProcess.pid: 52352

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)

webdriver-manager 状态的结果:

selenium standalone is up to date
chromedriver is up to date
IEDriver is not present

JDK 看起来已经安装好了(java --version):

The program 'java' can be found in the following packages:
* default-jre
* gcj-4.8-jre-headless
* openjdk-7-jre-headless
* gcj-4.6-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>

有什么想法吗?

最佳答案

确保安装了java:

sudo apt-get install openjdk-7-jre-headless

处理 webdriver-manager 不需要 sudo:

webdriver-manager start

关于angularjs - Protractor - 在 Ubuntu 14.04 上启动时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25346780/

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