Skip to content

[Bug]: Error: Could not find Chrome (ver. 136.0.7103.92) #266

@darkons

Description

@darkons

What happened?

I know that this bug has been reported several times, but I honestly don't know why it keeps happening.

Compliance with Browsershot requirements using the following versions on a Digital Ocean droplet deployed with Laravel Forge:

Ubuntu: 24.04
Node: v22.15.1
NPM: 11.5.1
PUPPETEER: 24.8.2

How to reproduce the bug

Follow the Browsershot docs for a Forge provisioned server:

  1. Install puppeteer
    sudo npm install -g puppeteer

  2. Install chromium
    npx puppeteer browsers install chrome

  3. Install dependencies
    sudo apt update
    sudo apt install libx11-xcb1 libxcomposite1 libasound2t64 libatk1.0-0 libatk-bridge2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6

Finally, just try to generate a PDF file using any method.

Package Version

1.6

PHP Version

8.4

Laravel Version

12.x

Which operating systems does with happen with?

Linux

Notes

Once you install chrome-headless, the problem is solved.
npx puppeteer browsers install chrome-headless-shell

Is this a requirement that does not appear in the docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions