-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
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 installcan take several minutes and sometimes feels like it’s just stuckyarn create viteornpx create-vitetake 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:
- Run
yarn create vite test-app - Wait
- 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