peerigon / phridge

A bridge between node and PhantomJS
The Unlicense
519 stars 50 forks source link

Wrong PhantomJS binary? #38

Closed MiroHibler closed 9 years ago

MiroHibler commented 9 years ago

I'm having an issue with PhantomJS on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-57-generic x86_64) throwing this error (used in UnCSS package):

<snip>/phridge/node_modules/phantomjs/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string

When I try to invoke it manually from the same path, I get:

./phantomjs: cannot execute binary file: Exec format error

it seems that the included phantomjs package installs wrong binary for this architecture.

jhnns commented 9 years ago

Please report this issue to the npm package phantomjs which is responsible for downloading the correct binary.