Unhandled rejection Error: spawn phantomjs ENOENT

2,248 views
Skip to first unread message

Anil Ambati

unread,
Apr 30, 2016, 11:51:14 AM4/30/16
to phantomjs
I am seeing following error on mac:

Unhandled rejection Error: spawn phantomjs ENOENT

    at exports._errnoException (util.js:860:11)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)

    at Process.onexit (/Users/aambati/anil-fork/node_modules/async-listener/glue.js:188:31)

    at onErrorNT (internal/child_process.js:344:16)

    at /Users/aambati/anil-fork/node_modules/async-listener/glue.js:188:31

    at doNTCallback2 (node.js:450:9)

    at process._tickCallback (node.js:364:17)


I am using node 5.0.0. i have this in my package.json:


"node-horseman": "~2.8.2",

"phantomjs-prebuilt": "~2.1.7",



Any help is appreciated. Thank you.

Alex Layton

unread,
May 1, 2016, 9:44:14 AM5/1/16
to phantomjs
That error is because horseman cannot find phantom, it is not a phantom issue. https://github.com/johntitus/node-horseman/issues/150
Reply all
Reply to author
Forward
0 new messages