我正在尝试使用这些参数运行 phantomjs:
mocha-phantomjs -s disk-cache=no --ignore-leaks -R xunit tests/index.html
但总是得到这样的回应:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
我使用 ubuntu 13、mocha-phantomjs 3.1.0 和节点 v0.10.15。
任何谷歌搜索都无济于事,我只是不知道该怎么做。我之前所做的只是安装 node 和 mocha-phantomjs
谁能帮我?