$ npm install -g cnpm --registry=https://registry.npm.taobao.org
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "cnpm" "--registry=https://registry.npm.taobao.org"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 114.55.80.225:443
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! C:Usersv_wbzhwangnpm-debug.log
There are many possibilities for network timeout, it’s hard to say!
1. It may be that the other party's server cannot connect
2. Your company may have restrictions on the network
3. What components have you installed locally such as (over the wall)
This reason cannot be ruled out. I have tried before. Sometimes downloading and installing in the morning will be successful, but sometimes the installation will not be successful throughout the afternoon