`[email protected]` fails in `test:typescript` on all Node.js windows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, nodejs, typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- 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
- Lingua principale
- JavaScript
- Stelle
- 606
- Fork
- 159
- Merge medio
- 3g 1h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nodejs/citgm
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
`citgm-smoker` fails `express-session` in `alpine-latest-x64` (openssl: not found)Forse già presa @MikeMcC399 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nodejs/citgm#1200 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
`microtime` fails on macOS, Windows & Alpine LinuxForse già presa @MikeMcC399 l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nodejs/citgm#1175 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
`@yarnpkg/cli` v4 fails in Node.js 22 (macos/ubuntu)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nodejs/citgm#1164 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nodejs/citgm
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
fossasia/visdom-dev#69 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
-
建议写成 1949-Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
DeanChensj/jiangshan-map#133 ·
I maintainer di solito rispondono entro 1 giorno
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
ew
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno