Docs
Troubleshooting
Fixes for browser dependencies, port conflicts, app startup failures, MCP configuration and unsupported frameworks.
Start with nono doctor. It checks Node.js, the browser, configuration, evidence directory permissions, application reachability, journeys, MCP configuration and git, and prints a fix for each problem. Use nono doctor --json when asking an agent to diagnose a setup.
Browser dependencies#
Symptom: verify or replay exits with code 2 (EXECUTION_ERROR, code BROWSER_UNAVAILABLE), or doctor reports that Chromium does not launch.
Install Playwright's Chromium, using the Playwright version nono depends on (from a source checkout: pnpm --filter nono-proof exec playwright install chromium):
npx playwright install chromium
On Linux, Chromium also needs system libraries. On Debian or Ubuntu, including CI runners:
npx playwright install --with-deps chromium
Other causes:
- Containers: run with enough shared memory (
--shm-size=1gbor--ipc=host) or Chromium may crash mid-run. - Corporate proxies: the browser download may be blocked. Set
HTTPS_PROXY, or pointPLAYWRIGHT_DOWNLOAD_HOSTat an internal mirror. - Custom Chromium: set
browser.executablePathin.nono/config.yaml, or theNONO_CHROMIUM_PATHenvironment variable, to use a browser you installed yourself. nono recordfails on a server: recording opens a headed browser and needs a display. Write journeys by hand or usenono_create_journeyinstead.
Port conflicts#
| Port | Used by |
|---|---|
4319 |
Local dashboard (nono dashboard) |
4400 |
Demo shop (examples/shop-demo) |
Symptom: EADDRINUSE when starting the dashboard or demo.
Find what holds the port:
lsof -i :4319 # macOS / Linux
Then stop that process, or choose another port:
nono dashboard --port 4320
PORT=4401 pnpm demo # demo shop on another port; pass --url to match
If your application runs on a different port than the one in .nono/config.yaml, update the config or pass --url:
nono verify checkout --url http://127.0.0.1:3001
Application startup failures#
Symptom: verify exits with code 2 and the manifest's error has code TARGET_UNREACHABLE or TARGET_NOT_ALLOWED, or the first navigate step times out.
nono does not start your application for you — it must already be running. Before each run it polls target.baseUrl + target.readyPath for up to target.startupTimeoutMs (capped at 10 seconds) and gives up if the app does not answer with a status below 500.
- Confirm the app responds:
curl -I http://127.0.0.1:4400. - Check the URL in
.nono/config.yaml, the journey'starget.baseUrl, any--profileand any--urlflag.--urlwins, then--profile, then the journey, then the config. TARGET_NOT_ALLOWEDmeans the host is not loopback, not the config'starget.baseUrlhost and not intarget.allowedHosts. Add it totarget.allowedHostsif it is a host you mean to test.- Prefer
127.0.0.1overlocalhostif the app binds only to IPv4;localhostmay resolve to::1. - In CI, wait for readiness before running nono (see CI integration).
- If the app starts but a page errors, run headed to watch it:
nono replay checkout --headed.
An EXECUTION_ERROR is never reported as a pass. Fix the environment and run again.
Verdicts that look wrong#
UNVERIFIED(exit3): a required check could not run, or a required condition could not be checked. Common causes: an earlier step failed so later state was never reached; ascreenshotassertion has no approved baseline screenshot (always the case withreplay); the journey has no assertions; orverification.requireBaselineistrueand there is no baseline. Look at the checks with statusunverifiedand the manifest'sunverifiedarray for the reason.EXECUTION_ERRORmentioning an environment variable: a fill step usesvalue: { env: NAME }andNAMEis not set. Export it before running.- Flaky
REGRESSION: usually nondeterministic data. Seed test data, wait on conditions instead of time, mark dynamic elements withdata-nono-volatileornormalization.volatileSelectors, and mask dynamic screenshot regions. Lower a noisy kind's severity underregressions.severityif it should be informational. See Journeys and Baselines. journey-changedafter editing a journey: the baseline was approved for a differentjourneyHash. Comparison still runs, but replay the updated journey and approve the new run.baseline approverefuses runs made with the older definition. See Baselines.
MCP configuration#
Symptom: the agent does not list nono tools, or reports the nono server failed to start.
Is the CLI resolvable? The generated config runs
nono mcp serve(a global install), ornpx --no-install nono mcp serveifnono-proofwas in the project'snode_moduleswhen you ranintegrate.--no-installrefuses to download. Test from the project root with the same command:nono --help npx --no-install nono --help # if the config uses npxIf you installed or removed the local package since, re-run
nono integrate <agent>to update the command.Is the config in the right place?
Agent File Claude Code .mcp.jsonCodex .codex/config.toml(or~/.codex/config.toml)Cursor .cursor/mcp.jsonRe-run
nono integrate <agent> --dry-runto see what it expects to write.Is it valid JSON/TOML? A trailing comma breaks the whole file, including other servers.
Restart the agent. Most clients read MCP configuration only at startup. In Claude Code,
/mcpshows server status.Run the server by hand to see errors directly:
nono mcp serveIt waits silently on stdin when healthy; press Ctrl+C to exit. Anything printed to stderr is the problem. The server needs
.nono/config.yamlin its project root (--root,NONO_PROJECT_ROOTor the directory it starts in); tools returnCONFIG_NOT_FOUNDotherwise.GUI apps and
PATH: editors launched from a dock may not inherit your shell'sPATH, sonono,npxornodeis not found. Use an absolute path in the config, or launch the editor from a terminal.integraterefused to change a file: it will not modify an invalid.mcp.json/.cursor/mcp.json, or a.codex/config.tomlthat already defines[mcp_servers.nono]outside nono's managed comments. Fix or remove the entry and re-run.
Unsupported frameworks#
nono verifies web applications served over HTTP in Chromium. It is framework agnostic: Next.js, Vite, Remix, Rails, Django or a static site all work, because nono talks to the browser, not to your framework.
Not supported in this release:
- Native mobile apps (iOS, Android).
- Desktop apps that are not reachable as a web page.
- Non-HTTP services, CLIs or background jobs with no web UI. You can still assert on HTTP calls they serve if a journey drives a web UI that uses them.
- Browsers other than Chromium.
- Database side-effect assertions.
If nono init cannot detect your framework, that only affects suggested defaults. Pass --url and record or write journeys as usual.
Still stuck#
Collect nono doctor --json, the failing run's manifest.json and the command you ran. Manifests are redacted, but review them before sharing.