README npm install section mentions Python and C/C++ but they are no longer needed
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 92/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- node.js
调研方向
打开 issue 中链接的 README.md 的 npm install 部分,将其中的先决条件文本与此处所述的软件包安装行为进行比较。删除过时的 Python/C/C++ 先决条件说明和 VS Code wiki 链接,然后验证该部分是否准确描述了无需构建工具链即可安装 @devcontainers/cli。
由索引模型根据 Issue 内容生成。
描述
The README's npm install section says:
To install the npm package you will need Python and C/C++ installed to build one of the dependencies (see, e.g., here for instructions).
This hasn't been true since v0.50.0. PR #585 removed node-pty from the published package, and build/patch-packagejson.js strips all dependencies before npm pack, so the tarball on npm has no deps to install at all.
Quick check with node:24-slim, which has no build toolchain:
$ docker run --rm node:24-slim sh -c "which python3 || echo 'not found'; which gcc || echo 'not found'; which make || echo 'not found'"
not found
not found
not found
$ docker run --rm node:24-slim sh -c "npm install -g @devcontainers/cli 2>&1 && npm list -g && devcontainer --version"
added 1 package in 1s
/usr/local/lib
+-- @devcontainers/[email protected]
+-- [email protected]
`-- [email protected]
0.86.0
Installs and runs fine without any build toolchain.
The prerequisite note and the link to the VS Code "How to Contribute" wiki should be removed from this section.
Related
- #63
- #585
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 463
- 平均合并
- 13 小时 28 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/cli 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 68/100
devcontainers/cli#1178 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 68/100
devcontainers/cli#1317 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
devcontainers/cli#1308 ·
维护者通常 1 天内回复
-
build rejects valid tag@digest image references during registry inspection可能已有人在做 @v-Kaniska244 于 8 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
devcontainers/cli#1307 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
devcontainers/cli#1305 ·
维护者通常 1 天内回复
查看 devcontainers/cli 的全部 Issue
相似的 Issue
-
check:failed streams:add
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
type: bug
难度 2/5 1-3 小时 新手友好度 84/100
interledger/rafiki#3986 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Doist/todoist-cli#576 ·
维护者通常 1 天内回复
-
feature
难度 1/5 1 小时以内 新手友好度 72/100
vercel-labs/skills#2370 ·
维护者通常 1 天内回复
-
🐛 Bug supabase/cli
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复