(Created on )

Puppeteer: Failed to install system dependencies: status={value},error={value},stdout={value},stde...

apt-get/system-dependency installation exited unsuccessfully.


apt-get/system-dependency installation exited unsuccessfully.

Error message

Failed to install system dependencies: status={value},error={value},stdout={value},stde...

{value} is replaced by the value shown in your error message.

How this error happens

The apt-get subprocess can fail because package indexes are unavailable, a package lock is held, or the filesystem cannot be written. Its stderr contains the specific cause.

The failing command assumes apt-get exists but cannot complete its dependency installation.

npx puppeteer browsers install chrome \
    --install-deps

How to fix

For missing or stale package indexes on a Debian/Ubuntu build host, refresh them and retry the dependency step.

apt-get update

npx puppeteer browsers install chrome \
    --install-deps

Things to keep in mind

These commands require a privileged build environment. If stderr points to a lock, network failure or read-only filesystem instead, fix that condition; updating indexes is not a universal repair.

All Puppeteer errors

Keep Reading

Puppeteer Guides

All Guides →