Skip to content

NX Failed to create a workspace at nx 21 version (21.0, 21.1, 21.2) #31645

@DulalSandip

Description

@DulalSandip

Current Behavior

Error: npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Expected Behavior

It should have worked without failure of creating workspace.

GitHub Repo

No response

Steps to Reproduce

1.npx create-nx-workspace@latest .

√ Which stack do you want to use? · node
√ What framework should be used? · express
√ Application name · auth-service
√ Would you like to generate a Dockerfile? [https://docs.docker.com/] · Yes
√ Which unit test runner would you like to use? · none
√ Would you like to use ESLint? · No
√ Would you like to use Prettier for code formatting? · No
√ Which CI provider would you like to use? · github

Nx Report

NX   Creating your v21.2.0 workspace.

✔ Installing dependencies with npm
✖ Creating your workspace in .

 NX   Failed to create a workspace.

Error: npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

Failure Logs

Package Manager Version

No response

Operating System

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

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions