`[email protected]` fails in `test:typescript` on all Node.js windows
Maintainer thường phản hồi trong vòng 1 ngày
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
- 65/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, nodejs, typescript
Hướng nghiên cứu
Inspect lib/lookup.json for the undici entry and compare it with the package’s .github/workflows/ci.yml and test:typescript script. Reproduce on Windows 11 with citgm undici, then investigate why tsc ./types/*.d.ts cannot resolve the declaration files; the glob behavior may need a cross-platform adjustment or an explicit file list. Done means the TypeScript checks pass on Windows without breaking Linux or macOS, or the lookup configuration is intentionally changed and its rationale is documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- follows on from https://github.com/nodejs/citgm/issues/1185
Situation
Running citgm undici fails on Node.js 22, 24 & 26 (windows)
error: | > [email protected] test:typescript
error: | > tsd && tsc test/imports/undici-import.ts --typeRoots ./types --noEmit && tsc ./types/*.d.ts --noEmit --typeRoots ./types
error: |
error: | error TS6053: File 'types/*.d.ts' not found.
Note that test:typescript only runs in ubuntu-latest when testing with https://github.com/nodejs/undici/blob/main/.github/workflows/ci.yml in the source repo. It doesn't appear to be testing in windows.
| Item | Status |
|---|---|
| npm package | https://www.npmjs.com/package/undici |
| npm status | active |
| last published | 8.12.2 Oct 15, 2026 |
| weekly downloads | 207,965,518 |
| repo location | https://github.com/nodejs/undici |
| repo last update to default branch | Oct 15, 2026 |
| repo status | active |
| repo CI status | runs in Node.js 22-26, macos, ubuntu & windows |
| lookup - skip | - |
| lookup maintainer 1 | mcollina |
| lookup maintainer 2 | ronag |
Repo CI https://github.com/nodejs/undici/blob/main/.github/workflows/ci.yml runs in Node.js 22 - 26 on macos, ubuntu & windows.
Steps to reproduce
On Windows 11 26H2, Node.js 24.22.0 LTS
npm install citgm@latest -g # 10.0.4
citgm undici
Results
Cross-check of [email protected] in GitHub Actions shows that it succeeds in macos & ubuntu.
It fails in windows.
| Node.js | npm | macos | ubuntu | windows |
|---|---|---|---|---|
| 22.23.3 | 10.9.9 | PASS | PASS | FAIL |
| 24.21.0 | 11.19.0 | PASS | PASS | FAIL |
| 26.12.0 | 11.20.0 | PASS | PASS | FAIL |
References
Suggestion
- Either enhance
test:typescriptfor cross-platform compatibility OR - remove
test:typescriptfrom lookup.json forundici
cc: @mcollina @ronag
- Ngôn ngữ chính
- JavaScript
- Star
- 608
- Fork
- 158
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 nodejs/citgm
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)Có thể đã có người làm @MikeMcC399 đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nodejs/citgm#1200 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nodejs/citgm#1176 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`microtime` fails on macOS, Windows & Alpine LinuxCó thể đã có người làm @MikeMcC399 đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nodejs/citgm#1175 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
[Bug]: fileUploadMatrix.test.ts URL case does a real DNS lookup and fails offlineCó thể đã có người làm @r2jaff đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ComposioHQ/composio#5054 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
W3cĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
web-platform-tests/wpt#64017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
routine:ci-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
harlan-zw/unlighthouse#456 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
beginner enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
philaconvalley/website#217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] xiaohongshu search_input_not_available on accounts with new AI-search layout (gray rollout)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày