-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-nx-workspace with custom preset is broken on windows #16231
Labels
os: windows
Issues that can only be replicated on Windows
outdated
scope: core
core nx functionality
type: bug
Comments
AgentEnder
added
scope: core
core nx functionality
os: windows
Issues that can only be replicated on Windows
labels
Apr 11, 2023
Also having this issue with my preset |
I also have it without preset:
|
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
os: windows
Issues that can only be replicated on Windows
outdated
scope: core
core nx functionality
type: bug
Current Behavior
When creating a new workspace on windows with custom preset, it throws an error before spawning a process to generate the preset.
Expected Behavior
I debugged this to a certain point but can't publish Nx packages locally to test the fix all together due to a poor windows environment that I have access to right now.
I believe that replacing the
spawn
fromchild_process
package with a cross-spawn here nx\packages\workspace\src\generators\new\generate-preset.ts should address the issue.GitHub Repo
No response
Steps to Reproduce
npx create-nw-workspace@latest myrepo --preset=qwik-nx
(instead of qwik-nx you can use any other package that has preset generator, it doesn't matterNx Report
Failure Logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: