我是node.js
,phantom.js
,casper.js
和spooky.js
整个堆栈的新手。我所拥有的一切安装(Windows环境),与PATH更新和遵循这个例子:使用Spooky.js运行示例代码时出错
https://github.com/WaterfallEngineering/SpookyJS
我得到这个错误:
C:\node_modules\spooky>node examples/hello.js
events.js:68
throw arguments[1]; // Unhandled 'error' event
^
Error: Child terminated with non-zero exit code 127
at Spooky._spawnChild.Spooky._instances.(anonymous function) (C:\node_module
s\spooky\lib\spooky.js:82:17)
at ChildProcess.EventEmitter.emit (events.js:96:17)
at Process._handle.onexit (child_process.js:678:10)
任何人有任何线索,为什么,以及如何解决它?我跑casperjs googlelinks.js
就好了。但与node.js
和spooky.js
,它给了我麻烦。
看一看这个Bug:[节点实例/ hello.js不起作用(https://开头的github .com/WaterfallEngineering/SpookyJS/issues/14) – mike
Yah我看到了github线程,但看起来像没有解决方案。 –
该错误现在已修复。您可以指定命令在您传递给Spooky构造函数的配置对象中运行。 – lawnsea