npm安装失败的解决方式
如果反复 npm install 还会失败建议换网络试试
npm淘宝镜像
建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
- > npm install --registry=https://registry.npm.taobao.org
npm华为云镜像
- > npm install --registry=https://registry.npm.taobao.org
华为开源镜像站新手指导(NPM篇)_开源镜像站_DevCloud_华为云论坛



