You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"scripts": {
"dev": "npm run server:dev",
"server:dev": "npm run server",
if I understand when defining root tasks, e.g. dev turborepo will search all packages.json files for scripts that matches the name for the same task name, but for some reason I get missing scripts
Only one script successfully runs (see image attachment), I am not quite sure if it is a Vite issue regarding ports (race condition), tried changing the port on each project (didn't work), although this missing scripts does not always occurs, I think it has to do with the ports these apps are running because if I restart my computer it runs fine for a couple of times but if I exit turbo and run it again, it errors out with missing scripts. It is like turborepo is trying to execute scripts from one project into another if all registered scripts do not match the same CLI tool you use, in my case is Vite.
Verify canary release
Link to code that reproduces this issue
https://github.com/benjick/missing-tasks-filter-root-repro
Which canary version will you have in your reproduction?
2.3.4-canary.2
Enviroment information
Expected behavior
When running
turbo run --filter=!pkg-b build root
, whereroot
is a root task ("//#root"
) I expected turbo to execute the taskActual behavior
To Reproduce
Clone https://github.com/benjick/missing-tasks-filter-root-repro
run
pnpm error
Additional context
It works if I run
turbo run --filter=!pkg-b build //#root
The text was updated successfully, but these errors were encountered: