remotion-dev/remotion · error · Error
No packages were specified
Error message
No packages were specified
What it means
installPackages guards against empty dependency lists: an empty dependencies array throws 'No packages were specified', converted by the surrounding try/catch into a structured error result.
Solutions
- Check dependencies.length > 0 before calling installPackages.
- Skip the install step entirely when dependency detection returns nothing.
- Treat an empty dependency list as success in the calling flow rather than calling the operation.
Defensive patterns
Strategy: validation
Validate before calling
if (dependencies.length > 0) {
const result = await operations.packageInstallation.installPackages({dependencies});
} Prevention
- Skip install entirely when the dependency scan returns an empty list.
- Consider an empty dependency list a no-op success in the calling flow.
When it happens
Trigger: Calling packageInstallation.installPackages({dependencies: []}) — e.g. an install flow where dependency detection found nothing to install but the call was still made.
Common situations: Element install flows whose dependency scan returned an empty list; UI buttons that unconditionally trigger install after a failed scan.
Related errors
- No effect prop edits to save
- No effects were specified for deletion
- No effects were specified for duplication
- No JSX nodes were specified for deletion
- No keyframe changes were specified
AI-assisted analysis of remotion-dev/remotion@46a3a6bf13 (2026-08-22).
Data as JSON: /api/errors/9e8c880f5ef614ab.
Report an issue: GitHub.
Appendix: source
Thrown at packages/browser-studio/src/browser-studio-operations.ts:1216
fileName: edit.fileName,
sequenceNodePath: edit.sequenceNodePath,
status: getEffectStatus({
effectIndex: edit.effectIndex,
fileName: edit.fileName,
project: nextProject,
schema: edit.schema,
sequenceNodePath: edit.sequenceNodePath,
}),
})),
};
},
};
const packageInstallation: BrowserStudioPackageInstallationOperations = {
installPackages: async ({dependencies}) => {
try {
if (dependencies.length === 0) {
throw new Error('No packages were specified');
}
const installedDependencies =
await resolveElementDependencies(dependencies);
const project = getProject();
const nextProject = addDependenciesToProject({
dependencies: installedDependencies,
project,
});
controller.applyMutation({
undoRedoNavigation: null,
timelineSelection: null,
fileName: 'Install packages',
mutate: () => nextProject,
nodePathMutationFiles: null,
});
return {success: true};View on GitHub (pinned to 46a3a6bf13)