Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`[email protected]` fails in `test:typescript` on all Node.js windows

オープン
#1,196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, nodejs, typescript
領域
testing, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

https://github.com/nodejs/citgm/blob/37e15454ddfe5aba91955062b7899114c528e7d1/lib/lookup.json#L394-L419

Suggestion

  • Either enhance test:typescript for cross-platform compatibility OR
  • remove test:typescript from lookup.json for undici

cc: @mcollina @ronag

主要言語
JavaScript
スター
608
フォーク
158
平均マージ
2日 17時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/citgm のほかの issue

nodejs/citgm の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。