motio doctor
Check FFmpeg, the browser, the config and Remotion API compatibility.
motio doctor [project-dir]Flags
| Flag | Description |
|---|---|
--json |
Print one JSON object on stdout (schema in schemas/). |
--log=<value> |
Log level: trace, verbose, info, warn, error. |
--help, -h |
Show help for the command. |
--config=<value> |
Config file (default: motio.config.ts, else remotion.config.ts, in the project root). |
--browser-executable=<value> |
Check this Chrome instead of the pinned one. |
JSON output
With --json, motio doctor prints exactly one JSON object on stdout. On success it has these fields; on failure it is the error object. The schema ships with the CLI as @motiojs/cli/schemas/doctor.schema.json.
| Field | Type | Description |
|---|---|---|
ok |
true |
|
command |
"doctor" |
|
healthy |
boolean | |
checks |
array of object | |
checks[].name |
string | |
checks[].status |
"pass", "warn", "fail" |
|
checks[].message |
string | |
checks[].details |
object | |
compatibility |
object | |
compatibility.target |
string | |
compatibility.filesScanned |
integer | |
compatibility.entries |
array of object | |
compatibility.entries[].specifier |
string | |
compatibility.entries[].symbol |
string | |
compatibility.entries[].isType |
boolean | |
compatibility.entries[].status |
"supported", "approximated", "stubbed", "missing", "unknown-symbol", "unsupported-package", "unknown-package", "not-planned", "opaque" |
|
compatibility.entries[].tier |
1, 2, 3, null |
|
compatibility.entries[].target |
string or null | |
compatibility.entries[].note |
string or null | |
compatibility.entries[].members |
array of string | |
compatibility.entries[].locations |
array of object | |
compatibility.summary |
object | |
compatibility.summary.supported |
integer | |
compatibility.summary.approximated |
integer | |
compatibility.summary.stubbed |
integer | |
compatibility.summary.missing |
integer | |
compatibility.summary.unknown-symbol |
integer | |
compatibility.summary.unsupported-package |
integer | |
compatibility.summary.unknown-package |
integer | |
compatibility.summary.not-planned |
integer | |
compatibility.summary.opaque |
integer | |
compatibility.parseErrors |
array of object | |
compatibility.parseErrors[].file |
string | |
compatibility.parseErrors[].errors |
array of string | |
compatibility.ok |
boolean | |
warnings |
array of string |
Exit codes
See exit codes. Run motio doctor --help for the same list of flags in the terminal.