Skip to content

🎥 Make videos programmatically with React

`@remotion/cli`: fix queue not continuing after a failed render

Jonny Burger2134ea5fa3aa
diff --git a/packages/cli/src/index.tsx b/packages/cli/src/index.tsx
index f7909bc352..16be9b3f92 100644
--- a/packages/cli/src/index.tsx
+++ b/packages/cli/src/index.tsx
@@ -49,8 +49,11 @@ export const cli = async () => {
await validateVersionsBeforeCommand(remotionRoot);
}
- const errorSymbolicationLock =
- RenderInternals.registerErrorSymbolicationLock();
+ const isStudio = command === 'studio' || command === 'preview';
+
+ const errorSymbolicationLock = isStudio
+ ? 0
+ : RenderInternals.registerErrorSymbolicationLock();
handleCtrlC();
@@ -59,7 +62,7 @@ export const cli = async () => {
try {
if (command === 'compositions') {
await listCompositionsCommand(remotionRoot, args);
- } else if (command === 'preview' || command === 'studio') {
+ } else if (isStudio) {
await studioCommand(remotionRoot, args);
} else if (command === 'lambda') {
await lambdaCommand(remotionRoot, args);