The command 'turbo build' is stuck. #10725
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi mushroomyuan, From your description, it seems like Turbo is hanging before it even reaches the build scripts, which suggests the issue is likely related to Turbo’s task graph resolution or caching rather than the build commands themselves. Here are some troubleshooting steps and ideas: Check for cyclic dependencies Simplify your turbo.json temporarily Clear Turbo cache and daemon Verbose logs Check your globalDependencies Inspect node process Upgrade Turbo Build locally per package If after these you still can’t solve it, sharing a minimal repro repo or opening an issue on Turbo’s GitHub with detailed logs would be helpful. |
Beta Was this translation helpful? Give feedback.
Hi mushroomyuan,
From your description, it seems like Turbo is hanging before it even reaches the build scripts, which suggests the issue is likely related to Turbo’s task graph resolution or caching rather than the build commands themselves.
Here are some troubleshooting steps and ideas:
Check for cyclic dependencies
Turbo can hang if there are circular dependencies in your monorepo tasks. Review your package dependencies and dependsOn config to make sure no cycles exist.
Simplify your turbo.json temporarily
Try commenting out all tasks except build and remove dependsOn fields to isolate if a specific dependency causes the hang.
Clear Turbo cache and daemon
You mentioned --no-cache and -…