humaninterest-archive / heroku-buildpack-xvfb Goto Github PK
View Code? Open in Web Editor NEWSetup scripts for Xvfb on Heroku
Setup scripts for Xvfb on Heroku
Hey @yoz,
I've noticed you posting in a few different places about getting Xvfb run working with Heroku, so I wanted to ask you a question... have you ever seen this error continually coming up:
-----> The github-netrc buildpack does not run tests. Skipping.
-----> The postgresql buildpack does not run tests. Skipping.
-----> The Apt buildpack does not run tests. Skipping.
-----> The Xvfb-setup buildpack does not run tests. Skipping.
-----> Running Node.js buildpack tests...
yarn test v0.23.2
$ make test
DEBUG=nightmare*,electron* xvfb-run -e /dev/stdout -s "-screen 0 1280x1028x24 -ac +extension GLX +render" ./node_modules/.bin/mocha --timeout 60000 --bail --compilers js:babel-core/register --require babel-polyfill ./build/test/index.js
Xvfb: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
xvfb-run: error: Xvfb failed to start
Makefile:166: recipe for target 'test' failed
make: *** [test] Error 1
error Command failed with exit code 2.
-----> Node.js buildpack tests failed with exit status 1
Prior to this, I had many other similar errors...
<snip>
Fri, 19 May 2017 20:56:56 GMT electron:stderr /app/node_modules/electron/dist/electron: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
<snip>
<snip>
Fri, 19 May 2017 20:45:31 GMT electron:stderr /app/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
<snip>
But all of those are after Nightmare has already started, and Electron runs into an issue. And they were fixed by simply adding more deps to the Aptfile
.
This latest one seems to prevent xvfb-run
from succeeding at all. And nothing I've tried has worked to get rid of it. Even if I remove previously-required things from Aptfile
now and clear the cache, xvfb-run
will still fail with the current error instead of the previous ones.
I'm really baffled, was hoping you could help. Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.