在当前项目配置

# 设置镜像源 
npm config set registry https://mirrors.huaweicloud.com/repository/npm/

# 清空缓存
npm cache clean -f

# 检查
npm config list