Skip to content

Commit

Permalink
Try to fix GitHub action puppeteer issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitschpatrol committed Feb 10, 2025
1 parent d3d535b commit 45f2fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/tldraw-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ export default class TldrawController {
// Set up Puppeteer
log.info('Starting Puppeteer...')
this.browser = await puppeteer.launch({
args: this.isLocal ? ['--no-sandbox', '--disable-web-security'] : [],
args: this.isLocal
? ['--no-sandbox', '--disable-web-security', '--disable-setuid-sandbox']
: // Both contexts for now?
['--no-sandbox', '--disable-web-security', '--disable-setuid-sandbox'],
headless: true,
})

Expand Down

0 comments on commit 45f2fc6

Please sign in to comment.