[BUG] npm ping
freezes when internet is off
#3576
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
When I run
npm ping
without WiFi, then it just freezes.Expected Behavior
The command gives me an error saying the request failed.
Steps To Reproduce
npm ping
Environment
The text was updated successfully, but these errors were encountered: