🎥 Make videos programmatically with React
cool
Jonny Burger0e78bcc33608
diff --git a/packages/template-vercel/src/app/api/render/route.ts b/packages/template-vercel/src/app/api/render/route.tsindex 6554dee9b3..89b27f6fd7 100644--- a/packages/template-vercel/src/app/api/render/route.ts+++ b/packages/template-vercel/src/app/api/render/route.ts@@ -90,9 +90,12 @@ export async function POST(req: Request) {detached: true,});+ let sysInstallLineCount = 0;for await (const log of sysInstallCmd.logs()) {+ sysInstallLineCount++;await send({ type: "log", stream: log.stream, data: log.data });}+ console.log("sysInstallLineCount:", sysInstallLineCount);const sysInstallResult = await sysInstallCmd.wait();if (sysInstallResult.exitCode !== 0) {diff --git a/packages/template-vercel/tsconfig.json b/packages/template-vercel/tsconfig.jsonindex e7c84fb1c9..3a1b9112de 100644--- a/packages/template-vercel/tsconfig.json+++ b/packages/template-vercel/tsconfig.json@@ -26,7 +26,8 @@"**/*.ts","**/*.tsx",".next/types/**/*.ts",- ".next/dev/types/**/*.ts"+ ".next/dev/types/**/*.ts",+ "render.ts"],"exclude": ["node_modules", "remotion.config.ts"]}