angularjs – 量角器 – 在Ubuntu 14.04上启动时出错

前端之家收集整理的这篇文章主要介绍了angularjs – 量角器 – 在Ubuntu 14.04上启动时出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试在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
原文链接:https://www.f2er.com/angularjs/142156.html

猜你在找的Angularjs相关文章