Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): use fork to execute nx generate workspace:preset (#29122)
## Current Behavior On Windows, when packageManager=pnpm, `create-nx-workspace` fails due to an issue with `child_process.spawn`. Using `spawn`, the `@nx/workspace:preset` generator is executed twice when `packageManager=pnpm`, causing the overall create-nx-workspace flow to fail, even though most things have been set up correctly to that point. Using `fork` has shown success. ## Expected Behavior Running `create-nx-workspace --packageManager=pnpm` should work on Windows ## Fixes Fixes #20222 Fixes #27270 Fixes #22917 Fixes #22312 Fixes #28710 Fixes #28289 Fixes #28235 Fixes #22383 Fixes #21742 Fixes #20270
- Loading branch information