Add no-sandbox argument to Puppeteer launch options
This commit is contained in:
@ -32,6 +32,7 @@ export async function pullData(amount = 100) {
|
|||||||
needCode = false;
|
needCode = false;
|
||||||
state.push('Starting Browser');
|
state.push('Starting Browser');
|
||||||
const browser = await puppeteer.launch({
|
const browser = await puppeteer.launch({
|
||||||
|
args: ['--no-sandbox']
|
||||||
//headless: false
|
//headless: false
|
||||||
//defaultViewport: null,
|
//defaultViewport: null,
|
||||||
//args: ['--disable-blink-features=PrettyPrintJSONDocument']
|
//args: ['--disable-blink-features=PrettyPrintJSONDocument']
|
||||||
|
|||||||
Reference in New Issue
Block a user