nx icon indicating copy to clipboard operation
nx copied to clipboard

Issue with running create nx workspace@latest

Open lookeswong opened this issue 5 months ago • 1 comments

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

Image

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 avatar Jun 13 '25 08:06 lookeswong

@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

koddr avatar Jun 13 '25 18:06 koddr

I am getting similar error. Did you have any luck @lookeswong ?

nathanmillar16 avatar Jun 28 '25 21:06 nathanmillar16

Should be fixed by: https://github.com/nrwl/nx/pull/32223

Coly010 avatar Aug 06 '25 12:08 Coly010

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.

github-actions[bot] avatar Sep 06 '25 00:09 github-actions[bot]