chore(frontend): package-lock 去掉腾讯云内网镜像源,改用官方源
194 处 resolved 指向 http://mirrors.tencentyun.com/npm/(腾讯云内网地址, 仅腾讯云机器可达)。在非腾讯云环境 npm ci 会直接失败: npm error network request to http://mirrors.tencentyun.com/npm/... failed, reason: getaddrinfo ENOTFOUND mirrors.tencentyun.com 改为 https://registry.npmjs.org/ —— 只换 URL,依赖版本与 integrity 哈希完全不变。 本机另配 registry=npmmirror + replace-registry-host=always,安装时自动走国内镜像。 实测:删掉 node_modules 后 npm ci 12.5s 通过,npm run build 28.7s 通过。
This commit is contained in:
1 parent
9f385bfe6f
commit
5a453c151e
1 file changed
+194
-194
Generated
+194
-194
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user