native doctor
The native doctor command checks your development environment for issues.
What it checks
| Check | Description |
|---|---|
| Host platform | Operating system and architecture |
| WebView | WKWebView (macOS) or WebKitGTK (Linux) availability |
| Manifest | app.json or app.zon validation when a manifest is discovered or passed explicitly |
| Log directory | Writability of the log output path |
| CEF | CEF distribution presence when Chromium is selected by the app manifest or --web-engine chromium |
| Signing tools | Code signing tool availability |
Usage
# Informational (always exits 0)
native doctor
# Strict mode (exits non-zero on any warning)
native doctor --manifest app.json --strict
# Check CEF setup
native doctor --manifest app.jsonFlags
| Flag | Description |
|---|---|
--strict | Exit non-zero on any warning |
--manifest | Path to app.json or app.zon |
--web-engine | Temporarily override the engine from the app manifest with system or chromium |
--cef-dir | Temporarily override the CEF distribution path |
--cef-auto-install | Temporarily allow automatic prepared CEF installation for Chromium checks |