From 707de7b8dbf337c71266013532747645e3b82f3c Mon Sep 17 00:00:00 2001 From: Melek souai <81172388+melek1900@users.noreply.github.com> Date: Thu, 3 Mar 2022 15:09:08 +0100 Subject: [PATCH] update index.js --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8260667..6c5ac2e 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,9 @@ async function start() { console.log(); log.done('All Done!'); } - +const browser = await puppeteer.launch({ + args: ['--no-sandbox', '--disable-setuid-sandbox'], +}); async function saveAsPDF(content, sourcePath) { log.info('Saving as PDF');