fix: 修复 pnpm dev 时特定 Node.js 版本 Electron 半安装导致的 Electron uninstall 启动失败 - #112
Open
MoYingJi wants to merge 1 commit into
Open
fix: 修复 pnpm dev 时特定 Node.js 版本 Electron 半安装导致的 Electron uninstall 启动失败#112MoYingJi wants to merge 1 commit into
MoYingJi wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
此 PR 通过覆盖 yauzl 版本,修复特定 Node.js 版本下 Electron 安装不完整导致的开发启动失败。
变更:
- 将
yauzl强制升级至兼容版本^3.3.1。 - 同步更新 pnpm 锁文件及传递依赖。
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pnpm-workspace.yaml |
添加 yauzl 版本覆盖配置。 |
pnpm-lock.yaml |
锁定 yauzl@3.4.0 并更新依赖快照。 |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动类型
是否包含破坏性变更
改动说明
Node.js 26.1.0+ 和 24.16.0+ 时,
pnpm installElectron 会出现 “半安装” 状态,导致pnpm dev时报错Electron uninstall按照 Electron 推荐的修复方法,将
yauzl升级到^3.3.1Electron 已在最新版本修复此问题,但升级 Electron 可能引发一点问题我就没这么做。如果选择升级 Electron 版本,可以关闭此 PR。合并此 PR 后升级了 Electron 也可以将
overrides里的yauzl删掉测试情况
已在 Arch Linux,
nodejs 26.5.0-1测试通过自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.tsdev分支提交