MCPcopy Create free account
hub / github.com/TomClive/SeeDance2Stitcher / explainMissingTool

Function explainMissingTool

server.js:38–43  ·  view source on GitHub ↗
(error, command)

Source from the content-addressed store, hash-verified

36}
37
38function explainMissingTool(error, command) {
39 if (error.code !== "ENOENT") return error.message;
40 const tool = ffToolInfo(command);
41 if (!tool) return error.message;
42 return `${tool.name} was not found at "${command}". Install FFmpeg or set ${tool.env} before running npm start.`;
43}
44
45function run(command, args, options = {}) {
46 return new Promise((resolve, reject) => {

Callers 2

runFunction · 0.85
startExportJobFunction · 0.85

Calls 1

ffToolInfoFunction · 0.85

Tested by

no test coverage detected