1.淘宝镜像的设置
npm config set registry https://registry.npm.taobao.org npm config set disturl https://npm.taobao.org/dist
2.package.json包的全局 更新
npm-check检查更新 npm install -g npm-check npm-check npm-upgrade更新 npm install -g npm-upgrade 运行 npm-upgrade
Checking for outdated dependencies for "/Users/wupeng/ppdpay-cli/package.json"...
厚积薄发,笨鸟先飞。