| name | debug-build |
| description | Diagnose and fix build failures using structured error output. |
| metadata | {"version":"1.0.0"} |
Debug Build
Diagnose and fix build failures using structured error output.
Steps
-
Reproduce the failure
veryfront build --json
Capture the error envelope.
-
Get error context (via MCP)
Use vf_get_errors to get all current errors.
Use vf_get_debug_context for additional context.
-
Analyze errors
Common build error patterns:
- Import resolution: missing module, wrong hash import path
- Type errors: check
deno check output
- Config errors: verify
deno.json and veryfront.json
-
Fix and verify
Apply the fix, then rebuild:
veryfront build --json
-
Run health check
veryfront doctor --json
Error Recovery
- Module not found: Check
deno.json imports map, verify file exists
- Type errors: Run
deno check src/index.ts for detailed diagnostics
- Config invalid: Compare against a working
deno.json from a fresh veryfront init