alwex/php-casperjs

There is an issue with Ubuntu, can not find Casperjs

Opened this issue · 0 comments

OK, I will write it here because I was crazy about this error. It's a problem with UBUNTU, fuck.

This solution save me the week.
From ariya I read this

Debian/Ubuntu has a modified version of PhantomJS that can work headlessly, hence the problem with QXcb. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817277 for details.

Unfortunately, this is not something that we (=PhantomJS team) can fix.

And the solution is here

@3zzy the steps I used are as follows:
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2
tar -xvf phantomjs-2.1.1-linux-x86_64.tar
cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs

Does this help your case?
ariya/phantomjs#14376 (comment)

ment-246310115