npm install 安装依赖太慢。用华为源

2020-08-14  本文已影响0人  IssunRadiance

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/

上一篇 下一篇

猜你喜欢

热点阅读