From dd7608283fe969480e17e5b9c99461ecb3bff2ac Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 30 Apr 2019 14:10:42 -0400 Subject: [PATCH] remove --no-sandbox but leave --disable-setuid-sandbox --- src/modules/_nomodule/gl-context.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/_nomodule/gl-context.js b/src/modules/_nomodule/gl-context.js index fd40e5b5..5534a333 100644 --- a/src/modules/_nomodule/gl-context.js +++ b/src/modules/_nomodule/gl-context.js @@ -9,7 +9,8 @@ module.exports = function runInBrowserContext(input, callback, step, options) { var obj = { input: input, modOptions: minOptions } - puppeteer.launch({headless: true, args:['--no-sandbox --disable-setuid-sandbox']}).then(function(browser) { +// puppeteer.launch({headless: true, args:['--no-sandbox --disable-setuid-sandbox']}).then(function(browser) { + puppeteer.launch({headless: true, args:['--disable-setuid-sandbox']}).then(function(browser) { browser.newPage().then(page => { /* Maybe there is a better way to this, loading the page coz localstorage API is not available otherwise */