Skip to content

A filter isn't valid

error: the filter "{./apps/*" isn't valid: a { is never closed
hint: Use a package name such as web, a folder such as ./apps/*, or a Git range such as [main], with ... to add dependencies or dependents.
error: the filter "[main...]" isn't valid: a Git range needs a branch, tag or commit on each side, such as [main] or [main...v2]
error: the filter "tag:" isn't valid: tag: needs the name of a tag, such as tag:frontend

The text after --filter can’t be read as a selector.

Fix the filter; see choosing packages. A Git range goes in square brackets at the end, such as [main], [main...v2] or ./apps/*[main].