Skip to content

create-nx-workspace stuck in "Creating your workspace" step #20270

Open

Description

Current Behavior

❯ npx create-nx-workspace@latest testwslatest
Need to install the following packages:
  create-nx-workspace@17.1.2
Ok to proceed? (y)

 >  NX   Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Which stack do you want to use? · angular
✔ Integrated monorepo, or standalone project? · integrated
✔ Application name · testwslatest
✔ Which bundler would you like to use? · webpack
✔ Default stylesheet format · css
✔ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? · Yes
✔ Test runner to use for end to end (E2E) tests · cypress
✔ Enable distributed caching to make your CI faster · No

 >  NX   Creating your v17.1.2 workspace.

   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.

✔ Installing dependencies with npm
⠸ Creating your workspace in testwslatest

Stuck in this state, no progress.

Is there some way to get more logs?

Expected Behavior

Should finish creating the workspace.

GitHub Repo

No response

Steps to Reproduce

  1. Run npx create-nx-workspace@latest testwslatest
  2. Tested with those options:
    ✔ Which stack do you want to use? · angular
    ✔ Integrated monorepo, or standalone project? · integrated
    ✔ Application name · testwslatest
    ✔ Which bundler would you like to use? · webpack
    ✔ Default stylesheet format · css
    ✔ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? · Yes
    ✔ Test runner to use for end to end (E2E) tests · cypress
    ✔ Enable distributed caching to make your CI faster · No

But also failed with 17.0.2 and 17.0.3 and with other options (e.g. NestJs app, even with type "None")

Nx Report

Nx workspace not created, yet.

Failure Logs

There are no logs.

Package Manager Version

npm 9.5.1

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

Operating System: WSL2 under Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions