Skip to content

Explainer videos and product demos made by your AI agent. Free and open source: a local voice (Kokoro), word timing (Whisper) and a canvas renderer turn a script into a narrated MP4.

Make the missing video.json error valid for every command

Vincent Schmalbache1d9b5e674a5
diff --git a/src/project.js b/src/project.js
index 701b890..af91b37 100644
--- a/src/project.js
+++ b/src/project.js
@@ -168,7 +168,7 @@ export function findProjectDir(arg) {
const dir = path.resolve(arg || '.');
if (fs.existsSync(path.join(dir, 'video.json'))) return dir;
if (arg) fail(`${dir} is not a video project (no video.json). Create one with "explainroo init ${arg}".`);
- fail('no video.json here. Pass the project folder, for example "explainroo render videos/my-video".');
+ fail('no video.json here. Run the command in a video folder or pass the project folder, for example "explainroo <command> videos/my-video".');
}
export function loadProject(arg) {