因为直接从远程仓库下载东西太慢了,因此我们为node设置国内节点来下载 在确保node正确安装的情况下直接在cmd执行以下代码: npm config set registry https://registry.npm.taobao.org 执行成功后再执行 npm config get registry 如果返回chttps://registry.npm.taobao.org说明配置成功。 如图: