Skip to content

🎥 Make videos programmatically with React

Merge main into #6481, resolve conflict in studio.ts

Jonny Burger67307e7599c7
diff --cc packages/cli/src/studio.ts
index 16a87391e2,86c73ac7d5..f5dc64c3f2
--- a/packages/cli/src/studio.ts
+++ b/packages/cli/src/studio.ts
@@@ -165,28 -140,7 +140,28 @@@ export const studioCommand = async
const gitSource = getGitSource({remotionRoot, disableGitSource, logLevel});
+ const lockfiles = StudioServerInternals.detectMultipleLockfiles(
+ remotionRoot,
+ 0,
+ );
+ if (lockfiles.length > 1) {
+ Log.warn({indent: false, logLevel}, '⚠️ Multiple lockfiles detected:');
+ for (const lockfile of lockfiles) {
+ Log.warn({indent: false, logLevel}, ` - ${lockfile}`);
+ }
+
+ Log.warn({indent: false, logLevel}, '');
+ Log.warn(
+ {indent: false, logLevel},
+ 'This can cause dependency inconsistencies.',
+ );
+ Log.warn(
+ {indent: false, logLevel},
+ 'Remotion Studio will continue to run.',
+ );
+ }
+
- await StudioServerInternals.startStudio({
+ const result = await StudioServerInternals.startStudio({
previewEntry: require.resolve('@remotion/studio/previewEntry'),
browserArgs: parsedCli['browser-args'],
browserFlag: parsedCli.browser,