Skip to content

npm test says Cannot start ChromeHeadless #27011

Answered by BrightRan
mwalter asked this question in Actions
Discussion options

You must be logged in to vote

@mwalter ,

This is an known issue has been reported by many users.

To solve this problem, you can try the below commands in your workflow (you also can reference puppeteer/puppeteer#5661):

sudo apt-get update
sudo apt-get install -y libgbm-dev

And the appropriate engineering team of the runner’s virtual environments has been fixing this problem (see actions/virtual-environments#734).

If you have any issue about the virtual environments of GitHub-hosted runners, you can open or follow a issue in the actions/virtual-environments repository.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants