Skip to content

Nx v20.8.1 Failes to create workspace with npm install warning #30884

Open
@mrudangit

Description

@mrudangit

Current Behavior

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

√ Where would you like to create your workspace? · TurboServer
√ Which stack do you want to use? · node
√ What framework should be used? · nest
√ Application name · TurboServer
√ 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? · skip
√ Would you like remote caching to make your build faster? · skip

NX Creating your v20.8.1 workspace.

✔ Installing dependencies with npm
✖ Creating your workspace in TurboServer

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

Expected Behavior

Expected Behavior is workspace created successfullyl

GitHub Repo

No response

Steps to Reproduce

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

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

√ Where would you like to create your workspace? · TurboServer
√ Which stack do you want to use? · node
√ What framework should be used? · nest
√ Application name · TurboServer
√ 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? · skip
√ Would you like remote caching to make your build faster? · skip

Nx Report

E:\PerspectiveApril2025\TurboServer>nx report

 NX   Report complete - copy this into the issue template

Node           : 22.14.0
OS             : win32-x64
Native Target  : x86_64-windows
npm            : 11.3.0

nx (global)    : 20.8.1
nx             : 20.8.1
@nx/js         : 20.8.1
@nx/jest       : 20.8.1
@nx/eslint     : 20.8.1
@nx/workspace  : 20.8.1
@nx/devkit     : 20.8.1
@nx/node       : 20.8.1
typescript     : 5.7.3
---------------------------------------
Cache Usage: 0.00 B / 372.60 GB

Failure Logs

Package Manager Version

No response

Operating System

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

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions