mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: clarify linux dependencies (#10026)
This commit is contained in:
parent
e3f8ff23c3
commit
2c35ca30a6
@ -71,11 +71,13 @@ const browser = await puppeteer.launch({
|
|||||||
> Context:
|
> Context:
|
||||||
> [issue 3681](https://github.com/puppeteer/puppeteer/issues/3681#issuecomment-447865342).
|
> [issue 3681](https://github.com/puppeteer/puppeteer/issues/3681#issuecomment-447865342).
|
||||||
|
|
||||||
## Chrome headless doesn't launch on UNIX
|
## Chrome doesn't launch on Linux
|
||||||
|
|
||||||
Make sure all the necessary dependencies are installed. You can run
|
Make sure all the necessary dependencies are installed. You can run `ldd chrome
|
||||||
`ldd chrome | grep not` on a Linux machine to check which dependencies are
|
| grep not` on a Linux machine to check which dependencies are missing. The
|
||||||
missing. The common ones are provided below.
|
common ones are provided below. Also, see
|
||||||
|
https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/debian/dist_package_versions.json
|
||||||
|
for the up-to-date list of dependencies declared by the Chrome installer.
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Debian (e.g. Ubuntu) Dependencies</summary>
|
<summary>Debian (e.g. Ubuntu) Dependencies</summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user