Troubleshooting
Start with the failing boundary: authored source, compiled artifact, installed package, or running host. Do not repair generated files by hand; correct the owning source declaration and rebuild. The capability map distinguishes supported output from supported client behavior.
Establish the version and the object being inspected
After installing the intended framework package locally:
For a copied artifact, inspect that artifact instead of an unrelated checkout:
inspect --artifact is not combined with source --root or --config. validate --artifact
takes the bare composite artifact; the manifest-aware installation path also understands an npm
root. Those roots have different inventory responsibilities. See shipping.
Record the compiler/runtime package selectors and the artifact/application version when reporting a problem. Preview packages should come from one immutable build. Published compiler/runtime versions can differ; use the pair recorded by the matching scaffolder, not an assumption that their numeric versions must be equal.
Find the smallest correction
Generated types on a clean checkout
Generated declarations are intentionally not authored source. Run the current supported generation path before a standalone typecheck, and stop if it fails:
The project needs its own typecheck script and correct tsconfig inclusion. A previous generated
file can remain after failed preparation; do not describe it as current. The present inclusion
warning is not a complete audit of every project reference. For solution-style configurations,
verify each consuming program rather than adding a file to an unrelated root program merely to
silence a warning. Do not import server implementations into browser runtime code to get types.
The starter's ordinary test command runs every pool it ships; its complete check adds build and typecheck:
See testing for focused pools and reuse recipes for canonical contracts. Static-only plugins should not gain a React/MCP testing dependency solely to imitate the MCP starter.
Installation and replacement
Use the delivered INSTALL.md or the supported package-bound installer. Native registration,
file placement, enablement, and a live running session are distinct states. Read the
installation guide before interpreting a receipt or reload step.
Use doctor for a read-only installed-state check. A different version or foreign directory may
require a deliberate operator decision; do not start with rm -rf, global cache edits, or
pre-validation permission repair. Keep-data and purge have different ownership requirements.
Missing historical ownership is not authority to delete an inferred directory.
Run packaging tests with temporary data and isolated host roots. Do not put real passwords, tracker sessions, private keys, or live operator data in a reproducible fixture.
Useful bug-report evidence
Include the package selectors and Node version, the smallest relevant config and route, the exact command, structured diagnostic, and whether it ran from source, an artifact, an installed package, or a native host. Include the expected behavior and actual terminal outcome.
For App/session problems, note the chosen server, tool, launch projection and browser profile separately. For a rebuild problem, identify the old and new revision without attaching unrelated raw logs. Redact credentials, authorization headers, session cookies, and private command data. Do not include an entire environment dump.
Link the diagnostic reference or capability row when applicable. A test failure, a documented limitation, and an unexecuted acceptance case require different follow-up work; report which one the evidence establishes.