Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XVFB not installed #261

Closed
blu-towers opened this issue Jan 12, 2025 · 5 comments
Closed

XVFB not installed #261

blu-towers opened this issue Jan 12, 2025 · 5 comments
Labels
triage This ticket will be looked at shortly

Comments

@blu-towers
Copy link

Description

Although i used the Dockerfile provided and it has apt-get install xvfb in it, i still receive this error when deploying to DigitalOcean.

[2025-01-12 13:01:42] You are running on a Linux platform but do not have xvfb installed. The browser can be captured. Please install it with the following command
[2025-01-12 13:01:42] sudo apt-get install xvfb

I solved it by using this node package https://www.npmjs.com/package/xvfb

This is linked to this issue #256

Full steps to reproduce the issue

Use the default Dockerfile and deploy

Issue Type

Bug

Operating System

Linux

Do you use Docker?

Docker

@blu-towers blu-towers added the triage This ticket will be looked at shortly label Jan 12, 2025
@14790897
Copy link

use npm install xvfb

@YAMER1
Copy link

YAMER1 commented Jan 15, 2025

use npm install xvfb
The same problem, this installation does not help and installation via "yum install xorg-x11-server-Xvfb" does not help.
Who managed to solve the problem?

@14790897
Copy link

use npm install xvfb  使用 npm install xvfb
The same problem, this installation does not help and installation via "yum install xorg-x11-server-Xvfb" does not help. 同样的问题,通过 "yum install xorg-x11-server-Xvfb "安装也无济于事。
Who managed to solve the problem? 谁设法解决了这个问题?

It's a npm package, not a linux package
use npm install xvfb

@LucBerge
Copy link

LucBerge commented Jan 31, 2025

npm i xvfb is a wrapper around the sudo apt-get install -y xvfb package.

  • If you have the error Xvfb is not a constructor: it means you are missing the npm package.
  • If you have the error Could not start Xvfb: it means you are missing the linux package.

You need both.

@mdervisaygan
Copy link
Member

this problem should be fixed. Please let me know if it persists in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage This ticket will be looked at shortly
Projects
None yet
Development

No branches or pull requests

5 participants