更改npm镜像源为npmmirror.com

将npm安装命令中的registry从淘宝npm源改为npmmirror.com,原有npm源已经失效

Signed-off-by: 老高 <794071084@qq.com>
This commit is contained in:
老高
2024-07-10 02:22:37 +00:00
committed by Gitee
parent c8e235bed6
commit 1942f1af4e

View File

@@ -114,7 +114,7 @@ cd web
# 安装依赖 # 安装依赖
npm install yarn npm install yarn
yarn install --registry=https://registry.npm.taobao.org yarn install --registry=https://registry.npmmirror.com
# 启动服务 # 启动服务
yarn build yarn build