Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Instructions to update bundled node-gyp do not work on Windows + npm >= 10

未关闭
#3,172 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
nodejs

调研方向

从 docs/Updating-npm-bundled-node-gyp.md 的 Windows 部分开始,使用 Node v20.18.2 和 npm 10.8.2 重现报告中的步骤。追踪由此产生的 @npmcli/docs E404,并更新说明,使文档中的流程能够在使用 npm 10 或更高版本的 Windows 上运行;验证修订后的步骤不再请求那个缺失的软件包。

由索引模型根据 Issue 内容生成。

描述

Documentation

https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md#windows

These instructions fail for me using node v20.18.2 and npm 10.8.2.

I see similar reports on stackoverflow etc.

npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@npmcli%2fdocs - Not found
npm error 404
npm error 404  '@npmcli/docs@^1.0.0' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
主要语言
Python
星标
10.7k
派生
1.9k
平均合并
1 天 4 小时
30 天内合并 PR
5

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nodejs/node-gyp 的其他 Issue

查看 nodejs/node-gyp 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。