尝试项目:https://github.com/yearofmoo/angularjs-seed-repo
环境:
Windows 7 64位
NodeJS v 0.10.24
量角器v 0.16.1
grunt v0.4.2
grunt-cli v0.1.11
笔记:
对于selenium,根据[Julie的帖子] [1],install_selenium_standalone已经在12/2/13左右被webdriver-manager二进制替换.这似乎与这个问题有关.
此外,必须在项目目录中安装git,并且必须在Windows中使用Git Bash运行npm install.
Git Bash出错:
$ grunt test:e2e --debug
运行"connect:testserver"(连接)任务
[D]任务源:c:\nodejs-0.10.24 \node_modules\grunt-contrib-connect\tasks\conn ect.js开始连接web服务器在127.0.0.1:9999.
运行"量角器:singlerun"(量角器)任务
[D]任务来源:c:\nodejs-0.10.24 \node_modules\grunt-protractor-runner\tasks\pr otractor_runner.js启动selenium独立服务器...
events.js:72
throw er; //未处理的'错误'事件
^
错误: 在Process.ChildProcess._handle.onexit(child_process.js:771:34)的
errnoException(child_process.js:980:11)
处生成ENOENT
>致命错误:量角器退出代码:8
小智.. 13
Java需要运行selenium,所以看起来你没有.
Java需要运行selenium,所以看起来你没有.