Skip to content

[BUG] Takes forever to install or even create #9141

@Loulou823

Description

@Loulou823

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

Title: Super slow installs and project creation (npm / yarn)

Description:

Hey! I’ve been running into a pretty annoying issue lately where installing packages or creating new projects is really slow.

For example:

  • npm install can take several minutes and sometimes feels like it’s just stuck
  • yarn create vite or npx create-vite take a long time before anything even starts happening
  • It often hangs on steps like “fetching” or “resolving packages”

It makes it hard to quickly spin up projects or test things, which is kind of the whole point 😅


Environment:

  • OS: Windows 11
  • Node: v24.13.1
  • npm: 11.8.0

Steps to reproduce:

  1. Run yarn create vite test-app
  2. Wait
  3. Notice the delay before it actually starts
    and also npm does that

Expected behavior:
Commands should start almost instantly (within a few seconds).


Actual behavior:
There’s a long delay before anything happens, and the whole process is very slow.


What I’ve tried:

  • Cleared npm cache (npm cache clean --force)
  • Checked registry (still using https://registry.npmjs.org/)
  • Tried both npm and yarn
  • Same issue every time

Additional context:
Feels like it could be something with network, DNS, or registry access, but I’m not sure since it happens across npm, yarn, and npx.

Any ideas or suggestions would really help 🙏

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

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