Skip to content

🎥 Make videos programmatically with React

add no-sandbox arg

Pierre MINIGGIO6486cbc4e51d
diff --git a/packages/renderer/src/get-compositions.ts b/packages/renderer/src/get-compositions.ts
index 4dea01d236..334f339809 100644
--- a/packages/renderer/src/get-compositions.ts
+++ b/packages/renderer/src/get-compositions.ts
@@ -4,7 +4,7 @@ import {TCompMetadata} from 'remotion';
export const getCompositions = async (
webpackBundle: string
): Promise<TCompMetadata[]> => {
- const browser = await puppeteer.launch();
+ const browser = await puppeteer.launch({args: ['--no-sandbox']});
const page = await browser.newPage();
await page.goto(`file://${webpackBundle}/index.html?evaluation=true`);