From b56b0e9350bad117ab44962b0956866d22f55239 Mon Sep 17 00:00:00 2001 From: Sergii Date: Sun, 12 Jan 2025 05:42:11 +0200 Subject: [PATCH] chore: disable puppeteer sandbox --- docs-src/tools/prerender.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs-src/tools/prerender.js b/docs-src/tools/prerender.js index e0e1aae8e..5c9ad8f98 100644 --- a/docs-src/tools/prerender.js +++ b/docs-src/tools/prerender.js @@ -57,7 +57,9 @@ async function renderPage({ page, iterator }, options) { } async function render(options) { - const browser = await puppeteer.launch(); + const browser = await puppeteer.launch({ + args: ['--no-sandbox', '--disable-setuid-sandbox'], + }); try { const urls = await readSitemapUrls(browser);