Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 435 forks source link

Cannot run pre-built phantomjs on Ubuntu 16.04 in Vagrant #637

Closed z4y4ts closed 7 years ago

z4y4ts commented 7 years ago

First of all I got to tell you that running phantomjs on a headless Ubuntu seems to be just impossible at the time. I've tried 3 different methods and none of them resulted in working phantomjs. But let's start with official way to install it.

So I've installed phantomjs from here and also installed libfontconfig from the apt repos.

This application failed to start because it could not find or load the Qt platform plugin "offscreen".

Available platform plugins are: phantom.

Reinstalling the application may fix this problem. PhantomJS has crashed. Please read the bug reporting guide at http://phantomjs.org/bug-reporting.html and file a bug report. Aborted (core dumped)

Any ideas where to move from here?

nicks commented 7 years ago

This repo is an npm installer. You're looking for https://github.com/ariya/phantomjs