Skip to content
Latchkey

Nx run-many matched no projects in CI

Nx run-many found no projects to run. The --projects pattern matched nothing, or no project defines the target, so the command completes without building.

What this error means

nx run-many prints that it ran the target in 0 projects and exits, often green, masking that nothing happened.

nx
NX   Running target build for 0 projects:

No projects matched the provided filter.

Common causes

Pattern matched no projects

A --projects glob or list selected an empty set due to a typo or wrong pattern.

No project defines the target

Even with --all, projects without the target are skipped, leaving zero to run.

Tag filter excludes everything

A --projects=tag: filter matches no tagged projects.

How to fix it

Inspect what matches

  1. List projects and confirm which define the target.
Terminal
nx show projects --with-target build

Fix the pattern or add targets

  1. Correct the --projects pattern, or add the target where it should exist.

How to prevent it

  • Use nx show projects --with-target to confirm a selection before relying on run-many, and treat a 0-project run as a failure.

Frequently asked questions

What causes ""run-many no projects""?
A --projects glob or list selected an empty set due to a typo or wrong pattern.
How do I fix "run-many no projects"?
Inspect what matches

Related guides

References

Latchkey auto-heals failures like this one - detected, fixed, and retried without you. Start free → 30-day trial · No credit card