You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While executing npm install commands from AVD, commands are taking ~30 to 40 minutes to complete. Sometimes it is taking ~2 hours .
AVD is shared VM among 6 developers. From VM/AVD, the request is using a Blue Coat Proxy to access the internet, which then forwards the request to a firewall, both are located in On-premise infrastructure.
Outside of AVD, the command takes 50 seconds to completed.
Is there a way to identity which part from infrastructure is taking time while executing npm install commands.
at the quick glance this appears to be network and proxy related based on http logs and time taken by network requests.
The Azure Virtual Machine is allocated to 10 users. Where there are less users using the VM, the command executes quicker (6 to 8 minutes). Are there any things to keep in mind while executing npm commands from AVD through remote access.
You mention 10.9 but do not specify exact version. Npm 10.4 to 10.9.0 are known to have freezing issues due to DNS requests in node getReport which have been fixed in 10.9.1
Suspicion confirmed from the log file info using npm@10.9.0
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
While executing npm install commands from AVD, commands are taking ~30 to 40 minutes to complete. Sometimes it is taking ~2 hours .
AVD is shared VM among 6 developers. From VM/AVD, the request is using a Blue Coat Proxy to access the internet, which then forwards the request to a firewall, both are located in On-premise infrastructure.
Outside of AVD, the command takes 50 seconds to completed.
Is there a way to identity which part from infrastructure is taking time while executing npm install commands.
2025-01-06T08_58_36_164Z-debug-0.log
Expected Behavior
npm install commands should take less than a minute to execute successfully from AVD machine.
Steps To Reproduce
Environment
; copy and paste output from `npm config ls` here ![NPM Node Version](https://github.com/user-attachments/assets/5d3fee23-add4-4b12-b014-da2fde2cfb27) ![LAN Proxy Settings](https://github.com/user-attachments/assets/ebc2912c-3dd2-4037-843f-7bc26db134cc) ![fltmc](https://github.com/user-attachments/assets/a8b7ff8f-7ec6-492f-a761-41cf83dffbda) ![Machine Details](https://github.com/user-attachments/assets/6e4007ed-47c3-46e8-b404-34882bafa0b8) ![VM Details](https://github.com/user-attachments/assets/4eda62a3-969f-45e5-8af6-3c4a4df6029e)
The text was updated successfully, but these errors were encountered: