This is a problem related to network connectivity. In most cases you are behind a proxy or have bad network settings. If you are behind a proxy, please make sure that the 'proxy' config is set properly. See: 'npm help config'
please set your npm proxy using:
npm config set proxy http://:
npm config set https-proxy http://: