Skip to content

Troubleshooting

Run Emendant from the repository root, or point --cwd at the directory containing a supported manifest:

Terminal window
npx emendant scan --cwd /path/to/project

For a monorepo, the root manifest must declare its workspaces.

The repository was detected, but the bundled feed has no selected change for its directly declared packages and versions. Confirm detection first:

Terminal window
npx emendant detect --all

Then review the current feed coverage. Emendant does not treat an unsupported package as though it had been checked.

Emendant could not prove whether the installed version is before or after the change release. Common causes are a missing lockfile, a range spanning the release, or a dependency form such as a Git URL.

Commit and install from a supported lockfile where possible, then rerun the scan. Do not suppress the accompanying coverage warning unless another process establishes the version.

A coverage warning appears with no findings

Section titled “A coverage warning appears with no findings”

The zero finding count covers only what Emendant successfully checked. Read the warning: it may identify an unreadable version, unresolved local module, unsupported grammar, or a provenance budget that was exhausted.

Use verbose output for the complete context:

Terminal window
npx emendant scan --verbose

prefilter reports a file but scan does not

Section titled “prefilter reports a file but scan does not”

This is expected. The prefilter scans raw text, so a comment, string, or unrelated identifier can make a file a candidate. Structural matching removes those lookalikes before a finding is produced.

Use these commands to inspect the distinction:

Terminal window
npx emendant prefilter --verbose
npx emendant match

Run scan --verbose and look for module-resolution or candidacy-budget coverage warnings. Dynamic dependency injection, runtime mutation, and ambiguous sources are intentionally declined.

If the value flow is static and supported, reduce it to a small reproducible repository and send it to your Emendant contact.

Exit code 1 means the scan completed with findings. Exit code 2 means the scan failed to complete. Capture the code before uploading JSON or adding custom reporting; see the CI guide.

Use --no-color or set the standard NO_COLOR environment variable:

Terminal window
NO_COLOR=1 npx emendant scan