Skip to content

The patterns are too complex

error: the patterns in pnpm-workspace.yaml are too complex to match together: error building NFA
hint: Use fewer or simpler patterns, for example one ** pattern instead of many similar ones, then run axle again.

The workspace patterns are combined into one matcher, and there are so many, or they are so long, that the matcher would be too large.

Replace groups of similar patterns with one broader pattern, such as packages/** instead of a pattern for every folder.