查看当前npm源 npm config get registry >http://registry.npmjs.org/ 修改npm源(设置为淘宝npm源) npm config set registry https://registry.npm.taobao.org