v1.3.15:npm 安装兼容性修复
发布日期:2026年4月4日
🎯 一句话总结
修复了 npm 安装时因 Arborist 遇到编译二进制文件的 node-gyp 路径而失败的问题。
🔧 问题修复
npm 安装失败
问题:当项目包含编译后的二进制文件时,npm 的 Arborist 在解析依赖树时会命中二进制文件的 node-gyp 路径,导致 npm install 失败。
修复:跳过 Arborist 对编译二进制路径的检查。
对你有什么影响:OpenCode 环境中运行 npm install 不再意外报错。
📊 要不要升级?
| 情况 | 建议 |
|---|---|
| 使用 npm install 遇到报错 | ✅ 推荐 |
| 正常使用中 | 可以等下次 |
⬆️ 升级命令
bash
opencode upgrade📋 技术细节
点击展开完整更新列表
Core
- Prevent npm installs from failing when Arborist hits the compiled binary's
node-gyppath
Thank you to 1 community contributor:
- @Yuxin-Dong: refactor: remove redundant Kimi skill section (#20393)

