1、
第一步执行 npm config set registry https://repo.huaweicloud.com/repository/npm/
第二步执行 npm cache clean -f
第三部执行 npm install
2、
npm install --progress=false --registry=https://mirrors.huaweicloud.com/repository/npm/
1、
第一步执行 npm config set registry https://repo.huaweicloud.com/repository/npm/
第二步执行 npm cache clean -f
第三部执行 npm install
2、
npm install --progress=false --registry=https://mirrors.huaweicloud.com/repository/npm/
本文标题:npm install 安装依赖太慢。用华为源
本文链接:https://www.haomeiwen.com/subject/jhfgdktx.html
网友评论