Node.js SpookyJS: error executing hello.js
Asked Answered
P

0

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

Passant answered 27/1, 2014 at 11:28 Comment(3)
The example is working. Do you have CasperJS installed and added to path?Debbiedebbra
I have installed CasperJs but not added to the path, I have added and now works!!!!! Thanks very muchPassant
Future visitors can also read the procedure described at the following QA: #27689304Septal

© 2022 - 2024 — McMap. All rights reserved.