diff --git a/print/core/report.js b/print/core/report.js index 75eb66962..e773c6c91 100644 --- a/print/core/report.js +++ b/print/core/report.js @@ -28,7 +28,10 @@ class Report extends Component { if (fs.existsSync(fullPath)) options = require(optionsPath); - const browser = await puppeteer.launch({headless: true}); + const browser = await puppeteer.launch({ + headless: true, + args: ['--no-sandbox', '--disable-setuid-sandbox'] + }); const page = await browser.newPage(); await page.setContent(template);