npm install being slow
I'm currently using wsl2 and for some reason npm is taking too long to install. I tested my internet speed with speedtest cli and you can see the results in the screenshot below, they seem okay. I also cleaned the npm cache
npm clean cache --force used different npm version by installing different node versions via npm.
I still don't know why it is being so slow. I 'll appreciate any help in debugging this
8 Replies
when using --verbose option in npm install it gets stuck for 2 minutes on this kind of output. I can send the full log if needed

Pastebin
0 verbose cli /home/ganesh/.nvm/versions/node/v22.20.0/bin/node /ho...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
full log
this seems to be the relavent section
there's apparently a massive AWS outage going on https://health.aws.amazon.com/health/status, which might be related
I assume that can be one of the reason for timeout error since it can't connect to it
I'll try later when its fixed then see
I did check npm status and it was displaying fine tho i guess they haven't detected anything
npm Status
Welcome to npm's home for real-time and historical data on system performance.
status updated
showing problems now
It affected so many of the platforms I rely on