From 66fc58fccbc336ea518e4d4195fdda80a8e72618 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Tue, 23 Apr 2019 12:36:11 -0400 Subject: [PATCH] --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 6b2c08d6..fd40e5b5 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']}).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 */