[openstreetmap/openstreetmap-website] Invalid CSS when running tests (#1931)

Fazle Rabbi notifications at github.com
Sun Jul 21 20:27:19 UTC 2019


> Not really, no. If this is Ubuntu that I'd just `apt-get install phantomjs`...

> In more general terms if it isn't packaged then https://phantomjs.org/download.html is the place to start.

Though both Debian/Ubuntu has `phantomjs` in their official repo, running `phantomjs` from the terminal gives `Could not connect to any X display.` error. 

We can use this method mention [here](https://www.vultr.com/docs/how-to-install-phantomjs-on-ubuntu-16-04) to install `phantomjs` in a Debian/Ubuntu system. However, due to an [error](https://github.com/ariya/phantomjs/issues/12933#issuecomment-72439012) caused by a deprecated call to OpenSSL function causes it to stop working giving `Auto configuration failed` error in Debian. 

Installation vai ` npm install phantomjs-prebuilt -g --unsafe-perm` works fine,





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1931#issuecomment-513585059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190721/d5ec71d1/attachment.html>


More information about the rails-dev mailing list