turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Watch mode show limited error message for 'invalid task configuration'

Open weyert opened this issue 2 months ago • 14 comments

Verify canary release

  • [X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

n/a

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

1.13.3-canary.3

Describe the Bug

When I run turbo run dev I am getting a different error message then when I run turbo watch dev. The version of shown when using run-command is more helpful

Expected Behavior

When running turbo run dev I am currently getting:

pnpm exec turbo run dev
  × invalid task configuration

Error:   × You have 20 persistent tasks but `turbo` is configured for concurrency of 10. Set --concurrency to at least 21

while when running turbo watch dev only a part of the above message is outputted by the command, see:

pnpm exec turbo watch dev
  × invalid task configuration

To Reproduce

You should be able to reproduce by trying to lowering the turbo watch dev --concurrency=1

Additional context

No response

weyert avatar Apr 19 '24 22:04 weyert