Doctor is a project-local, read-only preflight command:
corepack npm run doctorIt reports stable diagnostic codes, pass/warn/fail status and a concrete remedy. It never installs tools or rewrites project files.
Full-stack checks#
- Supported Node and exact project npm versions
- Java 21 or 25
- Git availability
- Valid
.vireoproject metadata - Installed frontend dependencies
- Aligned Vireo package versions
- Ports
3000and8080 - Docker Compose when PostgreSQL is selected
- PWA configuration
Frontend-only checks#
- Supported Node version
- Frontend profile metadata
- Installed dependencies and compatible Vireo packages
- Explicit
VITE_API_MODE=mockorhttp - Port
3000
Java, Docker and backend port checks are intentionally absent from the frontend profile.
JSON mode#
The full-stack template also exposes:
corepack npm run doctor:jsonUse the structured report in support automation or CI diagnostics. Do not treat Doctor as a replacement for verify; Doctor checks readiness, while verification exercises code and build contracts.
Typical flow#
- Run
setupafter project creation. - Run
doctorbefore the first development session. - Follow the reported remedy for every failure.
- Run
verifybefore submitting a change.