🎥 Make videos programmatically with React
Use bunx for rendering videos, npx is broken on second run, at least for me
Jonny Burger08682b675a5e
diff --git a/packages/studio/src/helpers/make-render-command.ts b/packages/studio/src/helpers/make-render-command.tsindex d2e7bb18f7..2e59cc41c6 100644--- a/packages/studio/src/helpers/make-render-command.ts+++ b/packages/studio/src/helpers/make-render-command.ts@@ -83,8 +83,8 @@ const addTrueBooleanFlagsIfChanged = (export const getNpmRemotionCommandPrefix = (version: string) => {return version.trim() === ''- ? 'npx --yes --location=global -p @remotion/cli remotion'- : `npx --yes --location=global -p @remotion/cli@${version} remotion`;+ ? 'bunx --yes --location=global -p @remotion/cli remotion'+ : `bunx --yes --location=global -p @remotion/cli@${version} remotion`;};export const normalizeServeUrlForRenderCommand = ({