From 63701ac3fce4ddd958903b8219282285e3d6d29f Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 22 Dec 2024 08:32:47 +0900 Subject: [PATCH] hack puppeteer --- test/puppeteer.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/puppeteer.js b/test/puppeteer.js index b0abfc5..f3afe02 100755 --- a/test/puppeteer.js +++ b/test/puppeteer.js @@ -24,7 +24,12 @@ function makePromiseInfo() { } async function test(port) { - const browser = await puppeteer.launch(); + const browser = await puppeteer.launch({ + args: [ + '--no-sandbox', + '--disable-setuid-sandbox', + ], + }); const page = await browser.newPage(); page.on('console', async e => {