fix(ci): remove repo-level electron mirror defaults
This commit is contained in:
1 parent
625c5775f5
commit
fe62586b19
2 files changed
+1
-2
No files matched your search
@@ -5,4 +5,3 @@ strict-peer-dependencies=false
|
||||
enable-pre-post-scripts=true
|
||||
public-hoist-pattern[]=*esbuild*
|
||||
public-hoist-pattern[]=*vue-demi*
|
||||
electron_mirror="https://npmmirror.com/mirrors/electron/"
|
||||
@@ -219,7 +219,7 @@ pnpm build:desktop
|
||||
- 尝试清理并重新安装: `pnpm store prune && pnpm install`。
|
||||
|
||||
**2. Electron 安装不完整**
|
||||
- 这通常是网络问题。可以尝试配置 `electron_mirror` 环境变量或手动安装。
|
||||
- 这通常是网络问题。仓库默认不再提交 `electron_mirror` 镜像配置;如本地网络需要,请在用户级 `~/.npmrc` 或 shell 环境变量中按需配置,再重试安装。
|
||||
- 手动安装命令:
|
||||
```bash
|
||||
# (路径可能因 pnpm 版本而异)
|
||||
|
||||
Reference in new issue
Block a user