• 查看当前源
    1. npm get registry
    • 设置为淘宝源
    1. npm config set registry http://registry.npm.taobao.org/
    • 设置为官方源
    1. npm config set registry https://registry.npmjs.org/