Improved error message when a required os lib is missing
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, node.js, typescript, ubuntu
- Lĩnh vực
- developer-experience, devops
Hướng nghiên cứu
Start by tracing the Node installation and verification flow in the action; the issue does not name specific files or tests. Check how the action handles a failed Node executable and whether it can identify a missing system library such as libatomic1. Done means a failure caused by a missing library gives a clearer error than exit code 127, with relevant tests covering that message.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description:
When trying to upgrade our application from node 24 to 26 the setup node failed with the following error:
Run actions/setup-node@v7
Attempting to download 26.12.1...
Not found in manifest. Falling back to download directly from Node
Acquiring 26.12.1 - x64 from https://nodejs.org/dist/v26.12.1/node-v26.12.1-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /home/runner/_work/_temp/80f11687-6f0f-4adc-850c-6c97cf44d2e0 -f /home/runner/_work/_temp/e4551be6-f2d4-4553-8e19-c7704a200d29
Adding to the cache ...
Done
Error: Node installation failed. Node may not be installed or not on PATH: The process '/home/runner/_work/_tool/node/26.12.1/x64/bin/node' failed with exit code 127
I figured out that our self hosted runners based on Ubuntu 24.04 did not have the required lib libatomic1 installed. After installing this it worked as expected. This was introduced as a requirement in node 25.
What would be great would be if the action could provide me with a better error message like. Node failed to install because of a missing system lib. Instead of exit code 127
Justification:
To make it easier to find out why the install failed.
Are you willing to submit a PR?
Yes
- Ngôn ngữ chính
- TypeScript
- Star
- 5k
- Fork
- 1.7k
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của actions/setup-node
-
feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
actions/setup-node#1531 · 1 bình luận · 4 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
actions/setup-node#1660 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
actions/setup-node#1657 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Volta extends resolution in getNodeVersionFromFile has no cycle detection, recursing until stack overflowCó thể đã có người làm @v-gowridurgad đã nhận 53 ngày trước. Đang mởbug
actions/setup-node#1628 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`npm config get cache` fails with `EBADDEVENGINES` when requiring newer npm versions in `devEngines`Đang mởfeature request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
actions/setup-node#1553 · 15 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của actions/setup-node
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DSpace/dspace-angular#6511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: frontend area:byok bug severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Phone app shows Unknown for a remote machine whose key changedCó thể đã có người làm @janicduplessis đã nhận hôm nay. Đang mởarea: mobile priority: P3 type: bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
appandflow/stim#5006 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area - Local to Cloud Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/vscode-mssql#23209 ·
Maintainer thường phản hồi trong vòng 1 ngày