Node v26 not working in Docker image after installing Node due to missing libatomic
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 67/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- docker, linux, node.js
调研方向
从最新的 actions-runner Linux 容器镜像及其软件包安装设置开始,然后使用此处所示的 actions/runner 镜像和 actions/setup-node@v6 步骤重现问题。确认 Node.js 26 在更改前失败,并在更改后运行。镜像提供 libatomic1 且 Node.js 26 的 environment-details 步骤在没有缺少库错误的情况下完成,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Since Node v25 (now EOL), Node requires the libatomic1 package. See also https://github.com/npm/cli/issues/8680
If I install Node 26 with actions/setup-node, I get errors such as this:
Warning: /home/runner/_work/_tool/node/26.5.1/x64/bin/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
To Reproduce
Use the latest actions-runner (Linux) image, e.g. as part of ARC scale set.
Install node:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '26'
That step/action already shows the error when expanding "Environment details"
Expected behavior
If you would preinstall libatomic1 this fix the issue. It is to be expected that people install Node.js, so it should actually work.
Runner Version and Platform
Linux AMD64 2.336.0
- 主要语言
- C#
- 星标
- 6.3k
- 派生
- 1.5k
- 平均合并
- 1 天 21 分钟
- 30 天内合并 PR
- 24
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
actions/runner 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Runner crashes at InitializeSecretMasker on machines with Thai (th-TH) culture — culture-sensitive LastIndexOf in PowerShellPreAmpersandEscape可能已有人在做 @CloudNinjaDev 于 13 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
Broker retry logs an ERR stack trace and a phantom backoff on every job completion (listener's own cancellation treated as a request failure)可能已有人在做 @nitrobass24 于 53 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
7.0
难度 2/5 1-3 小时 新手友好度 72/100
unoplatform/uno.extensions#3253 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
Sector-Vestige/Sector-Vestige#476 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
PowerShell/platyPS#868 ·
-
S: Untriaged
难度 2/5 1-3 小时 新手友好度 62/100
Trauma-Station/Trauma-Station#5058 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复