I am facing the same issue even though I have added:
npm config set maxsockets 3
The issue occurs approximately once or twice in every 10 builds.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: