Node.js SpookyJS: error executing hello.js

2019-08-08 22:02发布

问题:

I have installed SpookyJS to execute CasperJs commands in Node.js. I Installed it with this command: npm install spooky, I´m using a Centos machine.

the error:

$ node node_modules/spooky/examples/hello.js

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)

Thanks in advance