为了提高速度,将npm更换成国内源: npm config set registry https://registry.npm.taobao.org 查看源: npm config get registry