PhantomJS returned non-zero exit status 127. Make sure phantomjs runs successfully on your system. You can test this by just running the
How do i troubleshoot this error?
Poltergeist is built on PhantomJS, but PhantomJS isn’t working correctly. This part of the error message suggests what you should do next:
If you run the command
Try some simple maths:
phantomjs> 1 + 1
phantomjs doesn’t give you a prompt, you should get another, more specific error message so you can figure out where to go from there.
Very useful information. Thanks!!
I solved the issue by installing phantomjs.