Skip to content

πŸŽ₯ Make videos programmatically with React

Update handle-common-errors.ts

Jonny Burgerdd626e9c00ef
diff --git a/packages/cli/src/handle-common-errors.ts b/packages/cli/src/handle-common-errors.ts
index d8df563169..0b4c565625 100644
--- a/packages/cli/src/handle-common-errors.ts
+++ b/packages/cli/src/handle-common-errors.ts
@@ -74,4 +74,9 @@ export const handleCommonError = async (err: Error) => {
' or if the component was renamed and the import statement not properly adjusted.'
);
}
+
+ if (err.message.includes('EBADF')) {
+ Log.info('πŸ’‘ This error might be fixed by changing your Node version:');
+ Log.info(' https://github.com/remotion-dev/remotion/issues/2452');
+ }
};