npm 会网速很慢导致下载失败,可以使用淘宝镜像1、打开命令行,输入以下命令:npm install cnpm -g --registry=https://registry.npm.taobao.org2、检测是否安装成功 输入命令符: cnpm -v安装成功显示如图下: