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
- List projects and confirm which define the target.
Terminal
nx show projects --with-target buildFix the pattern or add targets
- 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.
Related guides
Nx "The project does not exist" in CIFix Nx "The X project does not exist in this workspace" in CI. The project was renamed, has no project.json,…
Nx "Cannot find configuration for task" in CIFix Nx "Cannot find configuration for task" in CI. The project has no target with that name, or a stale proje…
Turborepo "No tasks were executed" in CIFix Turborepo "No tasks were executed" in CI. A filter matched no packages, or no package defines the task, s…