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
- Turn of WiFi
- Run
npm ping
- See it freeze
Environment
- OS: Ubuntu 20.04.2 LTS
- Node: v16.3.0
- npm: 7.19.1
Is there an existing issue for this?
Current Behavior
When I run
npm pingwithout WiFi, then it just freezes.Expected Behavior
The command gives me an error saying the request failed.
Steps To Reproduce
npm pingEnvironment