From dd7be2a5fab18094435cf6cadddf3f0f6545a409 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 30 Apr 2019 14:34:11 -0400 Subject: [PATCH] ['--no-sandbox', '--disable-setuid-sandbox'] --- src/modules/_nomodule/gl-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/_nomodule/gl-context.js b/src/modules/_nomodule/gl-context.js index fd40e5b5..f16c6317 100644 --- a/src/modules/_nomodule/gl-context.js +++ b/src/modules/_nomodule/gl-context.js @@ -9,7 +9,7 @@ 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) { browser.newPage().then(page => { /* Maybe there is a better way to this, loading the page coz localstorage API is not available otherwise */