Skip to content

Commit

Permalink
fix: add disable-gpu flag
Browse files Browse the repository at this point in the history
Possible fix for: puppeteer/puppeteer#12637
  • Loading branch information
JackuB authored Oct 26, 2024
1 parent c004a56 commit 15e9f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mermaid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function renderMermaidToFile(
executablePath: process.env.CHROME_BIN
? process.env.CHROME_BIN
: undefined,
args: ['--no-sandbox'], // I couldn't figure out how to run this in a container without this
args: ['--no-sandbox', '--disable-gpu'], // I couldn't figure out how to run this in a container without this
},
}
);
Expand Down

0 comments on commit 15e9f8a

Please sign in to comment.