Skip to content

[BUG] <Freezes during npm install> #7814

Closed
@SahDhiraj

Description

@SahDhiraj

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

While running the command npm install with the latest version (V10.9.0), the installation pauses and does not proceed further.

To resolve this, I have attempted the following steps:

  1. Cleared the npm cache using npm cache clean --force.
  2. Restarted both my PC and Visual Studio Code.
  3. Deleted the package-lock.json file and the node_modules directory.
    But none of these worked.

Expected Behavior

Sould have installed the dependencies and created package-lock.json and node_modules.

Steps To Reproduce

Environment: Using Visual Studio Code with Node.js version 20.13.1.
React and TypeScript: The project uses React version 18.2.0 and TypeScript version 5.3.3.
Command: When I run npm install, the process appears to be loading continuously without any further progress.

Environment

  • npm: 10.9.0
  • Node.js: 20.13.1
  • OS Name: Ubuntu 20.04.6 LTS
  • npm config:
    `

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions