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.