I want to install spookyjs and find it impossible to do so. I've tried three different ways:
Run the standard spookyjs package.json provided in spookyjs github. Then I try to run hello.js and I am greeted with this error.
C:\Users\User1\Desktop\test2>node hello.js events.js:183 throw er; // Unhandled 'error' event ^ Error: spawn casperjs ENOENT at _errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:372:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) at Function.Module.runMain (module.js:695:11) at startup (bootstrap_node.js:188:16) at bootstrap_node.js:609:3
Installed phantomjs and casperjs globally and
package.json
installed spooky and tiny-jsonrpc. I get the same error message.Installed these dependencies from
package.json
"dependencies": { "spooky": "^0.2.5", "tiny-jsonrpc": "^2.0.1", "phantom": "^4.0.12", "casperjs": "^1.1.4"
I get the same error.