1

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

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
user3206686
  • 11
  • 1
  • 4
  • The example is working. Do you have CasperJS installed and added to path? – leesei Jan 27 '14 at 16:22
  • I have installed CasperJs but not added to the path, I have added and now works!!!!! Thanks very much – user3206686 Jan 28 '14 at 10:28
  • Future visitors can also read the procedure described at the following QA: http://stackoverflow.com/questions/27688804/how-to-debug-any-node-js-child-process-error-spawn-enoent – laconbass Dec 29 '14 at 13:28

0 Answers0