Puppeteer Help in Glitch

I am receiving the below error when trying to use Puppeteer. Can anyone help?

    err  Error: Failed to launch chrome!
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
    at onClose (/rbd/pnpm-volume/cfb18c4f-cebd-46a7-bed9-db878b641de0/node_modules/.registry.npmjs.org/puppeteer/2.0.0/node_modules/puppeteer/lib/Launcher.js:348:14)
    at ChildProcess.helper.addEventListener (/rbd/pnpm-volume/cfb18c4f-cebd-46a7-bed9-db878b641de0/node_modules/.registry.npmjs.org/puppeteer/2.0.0/node_modules/puppeteer/lib/Launcher.js:338:60)
    at ChildProcess.emit (events.js:194:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
err  Error: Failed to launch chrome!
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
    at onClose (/rbd/pnpm-volume/cfb18c4f-cebd-46a7-bed9-db878b641de0/node_modules/.registry.npmjs.org/puppeteer/2.0.0/node_modules/puppeteer/lib/Launcher.js:348:14)
    at ChildProcess.helper.addEventListener (/rbd/pnpm-volume/cfb18c4f-cebd-46a7-bed9-db878b641de0/node_modules/.registry.npmjs.org/puppeteer/2.0.0/node_modules/puppeteer/lib/Launcher.js:338:60)
    at ChildProcess.emit (events.js:194:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

Hello, @cdismuke90!

What are the arguments you are using while launching the Chromium instance?
Try adding

			args: ['--no-sandbox', '--disable-setuid-sandbox']

Regards,
Ares

Thanks for the quick response. I was using the same arguments you have listed above, however your response made me double check my code and I had left an argument from local development:

`headless: false`

When I changed that back to false, it fixed my issues. Thanks for the inspiration!

Hello, @cdismuke90.

I am glad to know that your problem was resolved. Please add your message above as an accepted solution.

Regards,
Ares