Yarn is not installed
Chưa có ai nhận issue nà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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
Hướng nghiên cứu
Bắt đầu bằng cách lần theo entry point của action setup-node và cách action này cài đặt Node cùng npm trên các runner self-hosted. Issue không nêu file hay test nào, vì vậy trước tiên hãy kiểm tra cấu trúc repository. Công việc được xem là hoàn tất khi một runner self-hosted có thể chạy yarn sau setup-node và thiết lập Node hiện tại vẫn tiếp tục hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We are using a self-hosted runner and using this action to setup-node and install yarn.
I know on github-hosted runners, yarn is already pre-installed but it would be good if yarn was installed by this action for those of us using self-hosted.
Running setup-node with the following workflow and it works
with:
node-version: 12.13.0
always-auth: true
registry-url: https://registry.npmjs.org
/usr/bin/tar xz --warning=no-unknown-keyword -C /actions-runner/_work/_temp/febce1c0-314e-4a14-9a65-5bde8a990b71 -f /actions-runner/_work/_temp/d4bf33ab-571e-458e-9495-bd6c5b994814
/actions-runner/_work/_tool/node/12.13.0/x64/bin/node --version
v12.13.0
/actions-runner/_work/_tool/node/12.13.0/x64/bin/npm --version
6.12.0
Note that node and npm are installed.
A later step in the workflow then attempts to run yarn:
Run yarn install --ignore-scripts --frozen-lockfile
/actions-runner/_work/_temp/58e53b82-f9ae-4c68-9cec-75f75831208b.sh: line 1: yarn: command not found
##[error]Process completed with exit code 127.
This of course works on github hosted runners just fine, but since I just migrated to an EC2 instance that doesn't have yarn installed, I am now having issues.
- Ngôn ngữ chính
- TypeScript
- Star
- 5k
- Fork
- 1.7k
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 ·
-
feature request
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
actions/setup-node#1634 · 1 bình luận ·
-
actions/setup-node#1628 · 3 bình luận · 1 người được giao ·
-
`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 · 12 bình luận · 2 reaction ·
-
feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
actions/setup-node#1428 · 1 bình luận · 3 reaction ·
Tất cả issue của actions/setup-node
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100