Install.js 不遵守本地 npm 仓库
作者: bjdash创建于 2021年11月9日更新于 2022年3月16日
我的组织使用 **Nexus** 来提供 npm 包。我的本地 npm 注册服务器已配置为使用相同的注册服务器。运行 `npm get registry` 会返回 Nexus 注册服务器的 URL。但是,当我为此仓库执行 `npm install` 时,在 **electron** 的 **postinstall** 步骤中,它会运行 `node install.js` 脚本,该脚本会连接到 GitHub.com,而不是 Nexus 注册服务器。
内容来源: electron/minimal-repro