nx
nx copied to clipboard
Issue with running create nx workspace@latest
Current Behavior
Im trying to initialise a nx repo, when i try to run npx create-nx-workspace@latest . --preset nest --appName socket-gateway, it just keep loading forever
Expected Behavior
Previously there wasn't any issue with it
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest . --preset nest --appName socket-gateway
Nx Report
npx create-nx-workspace@latest . --preset nest --appName socket-gateway
Failure Logs
Let's create a new workspace [https://nx.dev/getting-started/intro]
✔ Would you like to generate a Dockerfile? [https://docs.docker.com/] · No
✔ Which unit test runner would you like to use? · jest
✔ Would you like to use ESLint? · Yes
✔ Would you like to use Prettier for code formatting? · Yes
✔ Which CI provider would you like to use? · github
NX Creating your v21.2.0 workspace.
✔ Installing dependencies with npm
⠙ Creating your workspace in .
Package Manager Version
npm
Operating System
- [ ] macOS
- [x] Linux
- [ ] Windows
- [ ] Other (Please specify)
Additional Information
No response
@lookeswong I see exactly the same behavior on macOS 15.3.2.
My Nx config:
user@koddr % npx create-nx-workspace@latest
NX Let's create a new workspace [https://nx.dev/getting-started/intro]
✔ Where would you like to create your workspace? · my-app
✔ Which stack do you want to use? · angular
✔ Integrated monorepo, or standalone project? · integrated
✔ Application name · my-app
✔ Which bundler would you like to use? · rspack
✔ Default stylesheet format · css
✔ Do you want to enable Server-Side Rendering (SSR)? · Yes
✔ Which unit test runner would you like to use? · vitest
✔ Test runner to use for end to end (E2E) tests · playwright
✔ Which CI provider would you like to use? · skip
✔ Would you like remote caching to make your build faster? · skip
NX Creating your v21.2.0 workspace.
✔ Installing dependencies with npm
⠦ Creating your workspace in my-app
I am getting similar error. Did you have any luck @lookeswong ?
Should be fixed by: https://github.com/nrwl/nx/pull/32223
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.