http://www.cnblogs.com/ycxhandsome/p/6562980.html
npm config set proxy null
npm config set https-proxy null
npm config set strict-ssl false
然后再安装cnmp
npm install -g cnpm --registry=https://registry.npm.taobao.org