From 79548a901f14ccd62c9a48cac83eddd1f4f96f39 Mon Sep 17 00:00:00 2001 From: nruest Date: Tue, 20 Dec 2022 13:02:34 -0500 Subject: [PATCH] Run puppeteer with no-sandbox. --- anon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anon.js b/anon.js index 479d901..ca1b8e6 100755 --- a/anon.js +++ b/anon.js @@ -120,7 +120,8 @@ async function takeScreenshot(url) { const filename = Date.now() + '.png' const browser = await puppeteer.launch({ - headless: true, + args: ['--no-sandbox'], + headless: true, defaultViewport: { width: 1024, height: 768,