turbo
turbo copied to clipboard
Turbo gen hangs when used with `--root`
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?
N/A
Describe the Bug
Warning: I use @turbo/gen directly in isolation, without turbo CLI.
When running gen from a workspace project, referencing the root, like so:
node_modules/.bin/gen run --root="../../"
Where ../../ is the workspace root (where .git dir is).
The CLI hangs, with node process taking 99% of the CPU and the process never exits.
Expected Behavior
Provide selection of generators.
To Reproduce
- Add
@turbo/gento a workspace sub-project -
node_modules/.bin/gen run --root="../../"
Additional context
N/A