Add no-sandbox argument to Puppeteer launch options

This commit is contained in:
2025-07-22 17:20:01 -04:00
parent 8f16a3aa13
commit d757c35dc0

View File

@ -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']