Heroku:未安装xvfb buildpacks

时间:2017-05-15 04:04:18

标签: heroku xvfb buildpack

您好StackOverflow社区,

我想在heroku中使用xvfb buildpack 但是,我总是在link中收到错误。

我在heroku中添加了一个buildpack列表:
 * heroku / php
 * heroku / python
 * https:// github.com/heroku/heroku-buildpack-apt
 * https:// elements.heroku.com/buildpacks/captain401/heroku-buildpack-xvfb

$ heroku buildpacks:add heroku/php
$ heroku buildpacks:add heroku/python
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-apt
$ heroku buildpacks:add https://elements.heroku.com/buildpacks/captain401/heroku-buildpack-xvfb
$ git push heroku master
Everything is up to date

$ heroku logs --tail
   app[web.1]: cmd=['Xvfb','-help']
   app[web.1]:     ubuntu_package=PACKAGE).check_installed()
   app[web.1]: Program install error!
   app[web.1]:   __init__.py", line 180, in check_installed
   app[web.1]:     raise EasyProcessCheckInstalledError(self)
   app[web.1]: [2017-05-15 03:31:42] app.DEBUG: < 200 [] []
   app[web.1]: OSError=[Errno 2] No such file or directory



什么似乎是错的?

1 个答案:

答案 0 :(得分:0)

我使用https://github.com/heroku/heroku-buildpack-apt使事情有效。

专门运行:

heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt