npm config set registry https://registry.npmmirror.com npm install -g cnpm --registry=https://registry.npmmirror.com